diff options
Diffstat (limited to 'src/devices/cpu/lr35902/lr35902.h')
-rw-r--r-- | src/devices/cpu/lr35902/lr35902.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/lr35902/lr35902.h b/src/devices/cpu/lr35902/lr35902.h index 5fad91ff8e2..ab70377a21e 100644 --- a/src/devices/cpu/lr35902/lr35902.h +++ b/src/devices/cpu/lr35902/lr35902.h @@ -7,7 +7,7 @@ #define MCFG_LR35902_TIMER_CB(_devcb) \ - devcb = &downcast<lr35902_cpu_device &>(*device).set_timer_cb(DEVCB_##_devcb); + downcast<lr35902_cpu_device &>(*device).set_timer_cb(DEVCB_##_devcb); // The first release of this CPU has a bug where the programcounter // is not incremented properly after an interrupt after the halt opcode. @@ -19,7 +19,7 @@ // a 16-bit register in the $fe** region. // note: oldval is in hiword, newval is in loword #define MCFG_LR35902_INCDEC16_CB(_devcb) \ - devcb = &downcast<lr35902_cpu_device &>(*device).set_incdec16_cb(DEVCB_##_devcb); + downcast<lr35902_cpu_device &>(*device).set_incdec16_cb(DEVCB_##_devcb); enum |