fix for gab

This commit is contained in:
dinkc64 2021-04-10 01:48:33 -04:00
parent 23bc15c77d
commit 4d17b251cb
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ void TMS34010WriteWord(UINT32 address, UINT16 value)
void TMS34010WriteCheat(UINT32 address, UINT8 value) // for cheat-engine
{
if ((address & 0xfff000000) == 0)
if ((address & 0xff000000) == 0)
address <<= 3; // cheat.dat format is not in bit-address. *kludge*
UINT8 *pr = g_mmap->map[PAGE_WADD + PFN(address)];