From 671e11709ba7111029ead389e84bac95d6fa6c22 Mon Sep 17 00:00:00 2001 From: redcode Date: Fri, 27 Nov 2015 17:55:57 +0100 Subject: [PATCH] Callback function types updated. --- Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h b/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h index 0237761..d0100f3 100644 --- a/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h +++ b/Z80.CPU/v1.0/API/C/emulation/CPU/Z80.h @@ -33,22 +33,22 @@ typedef struct { Z32Bit data; # ifdef CPU_Z80_USE_SLOTS - struct {ZSlot(Z16BitAddressRead8Bit ) read; - ZSlot(Z16BitAddressWrite8Bit) write; - ZSlot(Z16BitAddressRead8Bit ) in; - ZSlot(Z16BitAddressWrite8Bit) out; - ZSlot(ZRead32Bit ) int_data; - ZSlot(ZSwitch ) halt; + struct {ZSlot(ZContext16BitAddressRead8Bit ) read; + ZSlot(ZContext16BitAddressWrite8Bit) write; + ZSlot(ZContext16BitAddressRead8Bit ) in; + ZSlot(ZContext16BitAddressWrite8Bit) out; + ZSlot(ZContextRead32Bit ) int_data; + ZSlot(ZContextSwitch ) halt; } cb; # else void* cb_context; - struct {Z16BitAddressRead8Bit read; - Z16BitAddressWrite8Bit write; - Z16BitAddressRead8Bit in; - Z16BitAddressWrite8Bit out; - ZRead32Bit int_data; - ZSwitch halt; + struct {ZContext16BitAddressRead8Bit read; + ZContext16BitAddressWrite8Bit write; + ZContext16BitAddressRead8Bit in; + ZContext16BitAddressWrite8Bit out; + ZContextRead32Bit int_data; + ZContextSwitch halt; } cb; # endif } Z80;