From afcb7b8579da645608dc97ef3476edda44db5146 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Tue, 10 Jul 2018 20:28:36 +0300 Subject: [PATCH] Fixed a regression where DMG mode on CGB would not activate on most DMG games. Fixes #98 --- BootROMs/cgb_boot.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BootROMs/cgb_boot.asm b/BootROMs/cgb_boot.asm index 77a25bc..ba13913 100644 --- a/BootROMs/cgb_boot.asm +++ b/BootROMs/cgb_boot.asm @@ -732,12 +732,11 @@ Preboot: ld a, [$143] bit 7, a - call z, EmulateDMG + ldh [$4C], a ldh a, [TitleChecksum] ld b, a - ldh [$4C], a ; One day, I will know what this switch does and how it differs from FF6C ldh a, [InputPalette] and a jr nz, .emulateDMGForCGBGame