summaryrefslogtreecommitdiff
path: root/src/spc700.h
diff options
context:
space:
mode:
authortwinaphex2018-12-28 00:32:13 +0100
committertwinaphex2018-12-28 00:32:13 +0100
commitc007afe6fd51827fade7aa15a0a798be8bd97839 (patch)
tree3b8aca538bec3b42ef9bd33549a15110c3a20e37 /src/spc700.h
parent29db3cf00f552808b3f1dc5d11fcdbbefc659ec4 (diff)
downloadsnes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.gz
snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.tar.bz2
snes9x2002-c007afe6fd51827fade7aa15a0a798be8bd97839.zip
Start significantly refactoring this codebase so we can get it
to work with MSVC
Diffstat (limited to 'src/spc700.h')
-rw-r--r--src/spc700.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/spc700.h b/src/spc700.h
index 805392c..748f789 100644
--- a/src/spc700.h
+++ b/src/spc700.h
@@ -110,8 +110,6 @@ typedef struct
uint16 PC;
} SAPURegisters;
-//EXTERN_C struct SAPURegisters APURegisters;
-
// Needed by ILLUSION OF GAIA
//#define ONE_APU_CYCLE 14
#define ONE_APU_CYCLE 21
@@ -123,7 +121,7 @@ typedef struct
// 1.953us := 1.024065.54MHz
#ifdef SPCTOOL
-EXTERN_C int32 ESPC(int32);
+extern int32 ESPC(int32);
#define APU_EXECUTE() \
{ \
@@ -139,7 +137,7 @@ EXTERN_C int32 ESPC(int32);
// return cycles left (always negative)
-EXTERN_C int spc700_execute(int cycles);
+int spc700_execute(int cycles);
#endif // SPCTOOL