summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rwxr-xr-xlibpcsxcore/plugins.c4
-rwxr-xr-xlibpcsxcore/sio.c4
-rwxr-xr-xlibpcsxcore/sio.h2
3 files changed, 6 insertions, 4 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c
index 6ade3ce7..c0cfc199 100755
--- a/libpcsxcore/plugins.c
+++ b/libpcsxcore/plugins.c
@@ -656,10 +656,6 @@ unsigned short CALLBACK SIO1__readBaud16(void) { return 0; }
unsigned long CALLBACK SIO1__readBaud32(void) { return 0; }
void CALLBACK SIO1__registerCallback(void (CALLBACK *callback)(void)) {};
-void CALLBACK SIO1irq(void) {
- psxHu32ref(0x1070) |= SWAPu32(0x100);
-}
-
#define LoadSio1Sym1(dest, name) \
LoadSym(SIO1_##dest, SIO1##dest, name, TRUE);
diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c
index df9479a3..83d4fae6 100755
--- a/libpcsxcore/sio.c
+++ b/libpcsxcore/sio.c
@@ -1326,3 +1326,7 @@ void SaveDongle( char *str )
fclose( f );
}
}
+
+void CALLBACK SIO1irq(void) {
+ psxHu32ref(0x1070) |= SWAPu32(0x100);
+}
diff --git a/libpcsxcore/sio.h b/libpcsxcore/sio.h
index 2514162b..f22218b3 100755
--- a/libpcsxcore/sio.h
+++ b/libpcsxcore/sio.h
@@ -70,6 +70,8 @@ typedef struct {
void GetMcdBlockInfo(int mcd, int block, McdBlock *info);
+void CALLBACK SIO1irq(void);
+
#ifdef __cplusplus
}
#endif