mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
forgot to resolve callback
This commit is contained in:
parent
87f4e1fcae
commit
676af85696
@ -130,8 +130,11 @@ void lr35902_cpu_device::device_start()
|
||||
m_device = this;
|
||||
m_program = &space(AS_PROGRAM);
|
||||
|
||||
// resolve callbacks
|
||||
m_timer_func.resolve_safe();
|
||||
m_incdec16_func.resolve_safe();
|
||||
|
||||
// register for save states
|
||||
save_item(NAME(m_A));
|
||||
save_item(NAME(m_F));
|
||||
save_item(NAME(m_B));
|
||||
|
@ -24,16 +24,14 @@
|
||||
{ \
|
||||
register UINT16 r = x << 8 | y; \
|
||||
if (++y == 0) x++; \
|
||||
if (!m_incdec16_func.isnull()) \
|
||||
m_incdec16_func(r << 16 | x << 8 | y); \
|
||||
m_incdec16_func(r << 16 | x << 8 | y); \
|
||||
}
|
||||
|
||||
#define DEC_16BIT(x,y) \
|
||||
{ \
|
||||
register UINT16 r = x << 8 | y; \
|
||||
if (--y == 0xff) x--; \
|
||||
if (!m_incdec16_func.isnull()) \
|
||||
m_incdec16_func(r << 16 | x << 8 | y); \
|
||||
m_incdec16_func(r << 16 | x << 8 | y); \
|
||||
}
|
||||
|
||||
#define ADD_HL_RR(x) \
|
||||
|
Loading…
Reference in New Issue
Block a user