Fixed a regression where DMG mode on CGB would not activate on most DMG games. Fixes #98
This commit is contained in:
parent
d9dfbcd199
commit
afcb7b8579
@ -732,12 +732,11 @@ Preboot:
|
|||||||
|
|
||||||
ld a, [$143]
|
ld a, [$143]
|
||||||
bit 7, a
|
bit 7, a
|
||||||
|
|
||||||
call z, EmulateDMG
|
call z, EmulateDMG
|
||||||
|
ldh [$4C], a
|
||||||
ldh a, [TitleChecksum]
|
ldh a, [TitleChecksum]
|
||||||
ld b, a
|
ld b, a
|
||||||
|
|
||||||
ldh [$4C], a ; One day, I will know what this switch does and how it differs from FF6C
|
|
||||||
ldh a, [InputPalette]
|
ldh a, [InputPalette]
|
||||||
and a
|
and a
|
||||||
jr nz, .emulateDMGForCGBGame
|
jr nz, .emulateDMGForCGBGame
|
||||||
|
Loading…
Reference in New Issue
Block a user