mirror of
https://github.com/libretro/smsplus-gx.git
synced 2024-12-03 07:11:05 +00:00
Fix build when using EightyZ80 cpu core
This commit is contained in:
parent
c4dbbac8da
commit
093ce52425
@ -44,6 +44,7 @@ SOURCES_C += \
|
||||
$(SOURCE_DIR)/cpu_cores/eighty/z80_ops.c \
|
||||
$(SOURCE_DIR)/cpu_cores/eighty/z80_wrap.c
|
||||
else
|
||||
CFLAGS += -DUSE_Z80
|
||||
SOURCES_C += $(SOURCE_DIR)/cpu_cores/z80/z80.c
|
||||
endif
|
||||
|
||||
|
@ -69,7 +69,10 @@ void system_load_state_mem(void)
|
||||
|
||||
/* Load Z80 context */
|
||||
state_read(Z80_Context, sizeof(z80_t));
|
||||
|
||||
#ifdef USE_Z80
|
||||
Z80.irq_callback = sms_irq_callback;
|
||||
#endif
|
||||
|
||||
/* Load YM2413 context */
|
||||
state_read(YM2413_GetContextPtr(), YM2413_GetContextSize());
|
||||
|
Loading…
Reference in New Issue
Block a user