This commit is contained in:
Couriersud 2009-10-16 23:50:59 +00:00
parent 1e4c12db82
commit 486c0f5784

View File

@ -218,7 +218,10 @@ static DRIVER_INIT(hshavoc)
} }
*/ */
memory_install_write16_handler(cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM), 0x200000, 0x201fff, 0, 0, SMH_NOP); {
const address_space *space = cputag_get_address_space(machine, "maincpu", ADDRESS_SPACE_PROGRAM);
memory_install_write16_handler(space, 0x200000, 0x201fff, 0, 0, (write16_space_func) SMH_NOP);
}
DRIVER_INIT_CALL(megadriv); DRIVER_INIT_CALL(megadriv);