I'm constantly amazed by how poorly coded this emulator was.

SRAM and EEPROM were inverted and not all known value was in there.
Also fixed the rom metadata header that was missing one byte.
This commit is contained in:
Godzil
2021-04-09 23:55:58 +01:00
parent 4512def23a
commit 0e02ee829f
3 changed files with 55 additions and 31 deletions

View File

@@ -436,7 +436,6 @@ void ws_memory_init(uint8_t *rom, uint32_t wsRomSize)
sramAddressMask = 0x0;
externalEepromAddressMask = 0x0;
if (sramSize > 0)
{
sramAddressMask = ws_rom_sramSize(ws_rom, romSize) - 1;