diff --git a/Z80.CPU/1.0/API/modules/emulation/CPU/Z80.h b/Z80.CPU/1.0/API/modules/emulation/CPU/Z80.h index ebd2d6e..2a4ca2d 100644 --- a/Z80.CPU/1.0/API/modules/emulation/CPU/Z80.h +++ b/Z80.CPU/1.0/API/modules/emulation/CPU/Z80.h @@ -30,6 +30,10 @@ typedef struct { } cb; } Z80; +#ifdef __cplusplus +extern "C" { +#endif + qsize z80_run (Z80* object, qsize cycles); @@ -43,4 +47,8 @@ void z80_nmi (Z80* object); void z80_irq (Z80* object, qboolean state); +#ifdef __cplusplus +} +#endif + #endif /* __Z80_H__ */