GBA as GBC mode is only relevant on GBC
This commit is contained in:
parent
34b84e7098
commit
99d06d8479
|
@ -83,7 +83,7 @@ public:
|
||||||
void ackIrq(unsigned bit, unsigned long cc);
|
void ackIrq(unsigned bit, unsigned long cc);
|
||||||
|
|
||||||
unsigned readBios(unsigned p) {
|
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 (agbOverride[p-0xF3] + bios_[p]) & 0xFF;
|
||||||
}
|
}
|
||||||
return bios_[p];
|
return bios_[p];
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue