Previous 199869 Revisions Next

r31081 Monday 23rd June, 2014 at 09:52:53 UTC by hap
forgot to resolve callback
[src/emu/cpu/lr35902]lr35902.c opc_main.inc

trunk/src/emu/cpu/lr35902/opc_main.inc
r31080r31081
2424{ \
2525   register UINT16 r = x << 8 | y; \
2626   if (++y == 0) x++; \
27   if (!m_incdec16_func.isnull()) \
28      m_incdec16_func(r << 16 | x << 8 | y); \
27   m_incdec16_func(r << 16 | x << 8 | y); \
2928}
3029
3130#define DEC_16BIT(x,y) \
3231{ \
3332   register UINT16 r = x << 8 | y; \
3433   if (--y == 0xff) x--; \
35   if (!m_incdec16_func.isnull()) \
36      m_incdec16_func(r << 16 | x << 8 | y); \
34   m_incdec16_func(r << 16 | x << 8 | y); \
3735}
3836
3937#define ADD_HL_RR(x) \
trunk/src/emu/cpu/lr35902/lr35902.c
r31080r31081
130130   m_device = this;
131131   m_program = &space(AS_PROGRAM);
132132
133   // resolve callbacks
133134   m_timer_func.resolve_safe();
135   m_incdec16_func.resolve_safe();
134136
137   // register for save states
135138   save_item(NAME(m_A));
136139   save_item(NAME(m_F));
137140   save_item(NAME(m_B));

Previous 199869 Revisions Next


© 1997-2024 The MAME Team