Gambatte: Revert behaviour of ROM loading so that GB games will not load in GBC mode
This commit is contained in:
parent
1f0c9f2be8
commit
59bb3e1fc8
|
@ -615,8 +615,8 @@ int Cartridge::loadROM(const char *romfiledata, unsigned romfilelength, const bo
|
|||
break;
|
||||
}
|
||||
|
||||
//cgb = header[0x0143] >> 7 & (1 ^ forceDmg);
|
||||
cgb = forceDmg ? false : true;
|
||||
cgb = header[0x0143] >> 7 & (1 ^ forceDmg);
|
||||
//cgb = forceDmg ? false : true;
|
||||
std::printf("cgb: %d\n", cgb);
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue