diff options
author | 2013-01-31 13:58:02 +0000 | |
---|---|---|
committer | 2013-01-31 13:58:02 +0000 | |
commit | ad69d72a53e16ce23e6bee8f020ca2186ef1c84a (patch) | |
tree | b71013998044c51d7881f28c3294bf28e340aa9a /src/mame/drivers/jaguar.c | |
parent | 34bf46e8290d3ed2c13e598527b54d2290ff11b5 (diff) |
IRQ_CALLBACK modernization part 3 (no whatsnew)
Diffstat (limited to 'src/mame/drivers/jaguar.c')
-rw-r--r-- | src/mame/drivers/jaguar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/jaguar.c b/src/mame/drivers/jaguar.c index c4b46cb61b7..2130c3e52ab 100644 --- a/src/mame/drivers/jaguar.c +++ b/src/mame/drivers/jaguar.c @@ -359,7 +359,7 @@ static DEVICE_IMAGE_LOAD( jaguar ); * *************************************/ -static IRQ_CALLBACK(jaguar_irq_callback) +IRQ_CALLBACK_MEMBER(jaguar_state::jaguar_irq_callback) { return (irqline == 6) ? 0x40 : -1; } @@ -375,7 +375,7 @@ static IRQ_CALLBACK(jaguar_irq_callback) void jaguar_state::machine_reset() { if (!m_is_cojag) - m_main_cpu->set_irq_acknowledge_callback(jaguar_irq_callback); + m_main_cpu->set_irq_acknowledge_callback(device_irq_acknowledge_delegate(FUNC(jaguar_state::jaguar_irq_callback),this)); m_protection_check = 0; |