summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thepit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/thepit.cpp')
-rw-r--r--src/mame/drivers/thepit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/thepit.cpp b/src/mame/drivers/thepit.cpp
index 7061b2e0dd6..22feb9f7572 100644
--- a/src/mame/drivers/thepit.cpp
+++ b/src/mame/drivers/thepit.cpp
@@ -1353,7 +1353,7 @@ READ8_MEMBER(thepit_state::rtriv_question_r)
void thepit_state::init_rtriv()
{
// Set-up the weirdest questions read ever done
- m_maincpu->space(AS_PROGRAM).install_read_handler(0x4000, 0x4fff, read8_delegate(FUNC(thepit_state::rtriv_question_r),this));
+ m_maincpu->space(AS_PROGRAM).install_read_handler(0x4000, 0x4fff, read8_delegate(*this, FUNC(thepit_state::rtriv_question_r)));
save_item(NAME(m_question_address));
save_item(NAME(m_question_rom));