fix gpgx CDL z80 -> MD cart

This commit is contained in:
zeromus 2016-04-15 00:09:40 +01:00
parent 408d0ae4d0
commit 2f405cd01e
1 changed files with 2 additions and 1 deletions

View File

@ -594,9 +594,10 @@ void CDLogZ80(uint addr, uint flags)
if(addr >= 0x8000)
{
addr = zbank | (addr & 0x7FFF);
if (zbank_memory_map[addr >> 16].write)
if (zbank_memory_map[addr >> 16].read)
{
//special memory maps are hard to support here.
//hopefully, most carts aren't setting this CB for simple accesses to ROMs
return;
}