diff --git a/oswan/source/io.cpp b/oswan/source/io.cpp index 890ba09..3651fe8 100644 --- a/oswan/source/io.cpp +++ b/oswan/source/io.cpp @@ -22,6 +22,7 @@ #include "log.h" #include "rom.h" #include "./nec/nec.h" +#include "./nec/necintrf.h" #include "initialIo.h" #include "gpu.h" #include "audio.h" @@ -31,6 +32,7 @@ extern uint8 *externalEeprom; extern uint32 externalEepromAddressMask; extern uint32 romAddressMask; extern uint16_t *internalEeprom; +extern nec_Regs I; enum { @@ -240,8 +242,6 @@ void close_serial() serialfd = -1; } -void nec_int(DWORD wektor); - void check_serial_data() { unsigned char buf[10];