BG2 tilemap was messed up when unpausing (Fixes #20)

This commit is contained in:
Snesrev
2023-03-14 01:25:21 +01:00
parent 34751f5870
commit d265a76f05
2 changed files with 9 additions and 10 deletions

View File

@@ -318,6 +318,8 @@ uint32 PatchBugs(uint32 mode, uint32 addr) {
// Samus_HandleScrewAttackSpeedBoostingPals reads OOB
if (special_samus_palette_frame > 6)
special_samus_palette_frame = 6;
} else if (FixBugHook(0x828D56)) {
WriteReg(VMAIN, 0x80); // BackupBG2TilemapForPauseMenu lacks this
}
return 0;