diff options
Diffstat (limited to 'src/mame/drivers/gsword.c')
-rw-r--r-- | src/mame/drivers/gsword.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c index 8a50ecfef05..a376f0e9740 100644 --- a/src/mame/drivers/gsword.c +++ b/src/mame/drivers/gsword.c @@ -937,7 +937,7 @@ static DRIVER_INIT( gsword ) #endif #if 1 /* hack for sound protection or time out function */ - memory_install_read8_handler(1, ADDRESS_SPACE_PROGRAM, 0x4004, 0x4005, 0, 0, gsword_hack_r); + memory_install_read8_handler(machine, 1, ADDRESS_SPACE_PROGRAM, 0x4004, 0x4005, 0, 0, gsword_hack_r); #endif } @@ -952,7 +952,7 @@ static DRIVER_INIT( gsword2 ) #endif #if 1 /* hack for sound protection or time out function */ - memory_install_read8_handler(1, ADDRESS_SPACE_PROGRAM, 0x4004, 0x4005, 0, 0, gsword_hack_r); + memory_install_read8_handler(machine, 1, ADDRESS_SPACE_PROGRAM, 0x4004, 0x4005, 0, 0, gsword_hack_r); #endif } |