rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PokemonHackSourceCode/VisualBoyHandler/VisualBoyHandler.cpp @ 341  →  /PokemonHackSourceCode/VisualBoyHandler/VisualBoyHandler.cpp @ 342
/PokemonHackSourceCode/VisualBoyHandler/VisualBoyHandler.cpp
@@ -209,7 +209,7 @@
{
CONST VBA_PtrEntry *ppe = reinterpret_cast<CONST VBA_PtrEntry *>(&m_PtrStruct);
DWORD_PTR dwIndex = (dwBaseAddr & 0x0F000000) >> 24;
DWORD_PTR dwOffset = dwBaseAddr & 0x01FFFFFF;
DWORD_PTR dwOffset = dwBaseAddr & 0x00FFFFFF;
 
if(dwOffset + dwSize <= ppe[dwIndex].dwSize)
{
@@ -241,7 +241,7 @@
{
CONST VBA_PtrEntry *ppe = reinterpret_cast<CONST VBA_PtrEntry *>(&m_PtrStruct);
DWORD_PTR dwIndex = (dwBaseAddr & 0x0F000000) >> 24;
DWORD_PTR dwOffset = dwBaseAddr & 0x01FFFFFF;
DWORD_PTR dwOffset = dwBaseAddr & 0x00FFFFFF;
 
if(dwOffset + dwSize <= ppe[dwIndex].dwSize)
{