GBA as GBC mode is only relevant on GBC

This commit is contained in:
TiKevin83 2020-04-27 15:35:09 -04:00
parent 34b84e7098
commit 99d06d8479
2 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public:
void ackIrq(unsigned bit, unsigned long cc);
unsigned readBios(unsigned p) {
if(agbMode_ && p >= 0xF3 && p < 0x100) {
if(isCgb() && agbMode_ && p >= 0xF3 && p < 0x100) {
return (agbOverride[p-0xF3] + bios_[p]) & 0xFF;
}
return bios_[p];

Binary file not shown.