summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gsword.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gsword.c')
-rw-r--r--src/mame/drivers/gsword.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/gsword.c b/src/mame/drivers/gsword.c
index ec0c06865ac..9a591eddac0 100644
--- a/src/mame/drivers/gsword.c
+++ b/src/mame/drivers/gsword.c
@@ -905,7 +905,7 @@ DRIVER_INIT_MEMBER(gsword_state,gsword)
#endif
#if 1
/* hack for sound protection or time out function */
- machine().device("sub")->memory().space(AS_PROGRAM)->install_read_handler(0x4004, 0x4005, read8_delegate(FUNC(gsword_state::gsword_hack_r),this));
+ machine().device("sub")->memory().space(AS_PROGRAM).install_read_handler(0x4004, 0x4005, read8_delegate(FUNC(gsword_state::gsword_hack_r),this));
#endif
}
@@ -920,7 +920,7 @@ DRIVER_INIT_MEMBER(gsword_state,gsword2)
#endif
#if 1
/* hack for sound protection or time out function */
- machine().device("sub")->memory().space(AS_PROGRAM)->install_read_handler(0x4004, 0x4005, read8_delegate(FUNC(gsword_state::gsword_hack_r),this));
+ machine().device("sub")->memory().space(AS_PROGRAM).install_read_handler(0x4004, 0x4005, read8_delegate(FUNC(gsword_state::gsword_hack_r),this));
#endif
}