Add fastrom disable option

This commit is contained in:
cassidoxa
2023-08-26 20:31:02 -04:00
parent aaaa7b9239
commit e4e0a9f5a1
5 changed files with 11 additions and 2 deletions

4
Rom.py
View File

@@ -19,7 +19,7 @@ from EntranceShuffle import door_addresses
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'c9b88e9a10f9f0c9ad732962825cb1d8'
RANDOMIZERBASEHASH = 'bcbe116984dbfe4ea90a2dda17755f60'
class JsonRom(object):
@@ -1048,6 +1048,8 @@ def patch_rom(world, player, rom):
else:
rom.write_byte(0x180039, 0x00)
rom.write_byte(0x187032, 0x01 if world.fastrom else 0x00)
write_strings(rom, world, player)
# write initial sram