src/mess/machine/genesis.c
| r9326 | r9327 | |
| 979 | 979 | { |
| 980 | 980 | /* Info from DGen: If SRAM does not overlap main ROM, set it active by |
| 981 | 981 | default since a few games can't manage to properly switch it on/off. */ |
| 982 | | if (genesis_last_loaded_image_length < genesis_sram_start) |
| 982 | if (genesis_last_loaded_image_length <= genesis_sram_start) |
| 983 | 983 | genesis_sram_active = 1; |
| 984 | 984 | |
| 985 | 985 | memory_install_write16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0xa130f0, 0xa130f1, 0, 0, genesis_sram_toggle); |