Fixes to ACPI and 4x0 - fixes the Freeway.

This commit is contained in:
OBattler
2020-11-17 22:17:51 +01:00
parent 848a2183c2
commit d2ad8fce43
2 changed files with 15 additions and 23 deletions

View File

@@ -143,7 +143,7 @@ i4x0_smram_handler_phase1(i4x0_t *dev)
size[0] = 0x00020000;
}
if (((regs[0x72] & 0x78) == 0x48) || ((regs[0x72] & 0x28) == 0x08))
if (regs[0x72] & 0x08)
smram_enable(dev->smram_low, base[0], base[0] & 0x000f0000, size[0],
((regs[0x72] & 0x78) == 0x48), (regs[0x72] & 0x08));