Gambatte: Revert behaviour of ROM loading so that GB games will not load in GBC mode

This commit is contained in:
alyosha-tas 2017-12-29 21:15:01 -05:00
parent 1f0c9f2be8
commit 59bb3e1fc8
2 changed files with 2 additions and 2 deletions

View File

@ -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.