diff options
author | aliaspider | 2015-11-07 14:34:20 +0100 |
---|---|---|
committer | aliaspider | 2015-11-07 14:34:20 +0100 |
commit | c344e9862abe818e8f90b495a1f8eafcd43ddb20 (patch) | |
tree | e4434d0a51fb5813ea6ea13e484eabf7a8750f28 /src | |
parent | 7b820ffe978cc09a60d7e5d525aeb6691dca9b3c (diff) | |
download | snes9x2002-c344e9862abe818e8f90b495a1f8eafcd43ddb20.tar.gz snes9x2002-c344e9862abe818e8f90b495a1f8eafcd43ddb20.tar.bz2 snes9x2002-c344e9862abe818e8f90b495a1f8eafcd43ddb20.zip |
use the extern "C" macros.
Diffstat (limited to 'src')
-rw-r--r-- | src/os9x_asm_cpu.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/os9x_asm_cpu.h b/src/os9x_asm_cpu.h index 7de635d..e033718 100644 --- a/src/os9x_asm_cpu.h +++ b/src/os9x_asm_cpu.h @@ -1,12 +1,18 @@ #ifndef __os9x_asm_cpu__
#define __os9x_asm_cpu__
-extern "C" void test_opcode(SCPUState *cpuptr);
+#include "snes9x.h"
-extern "C" void asmMainLoop_spcC(SCPUState *cpuptr);
-extern "C" void asmMainLoop_spcAsm(SCPUState *cpuptr);
-extern "C" void asmMainLoop(SCPUState *cpuptr);
+START_EXTERN_C
-extern "C" void asm_S9xMainLoop(void);
+void test_opcode(SCPUState *cpuptr);
+
+void asmMainLoop_spcC(SCPUState *cpuptr);
+void asmMainLoop_spcAsm(SCPUState *cpuptr);
+void asmMainLoop(SCPUState *cpuptr);
+
+void asm_S9xMainLoop(void);
+
+END_EXTERN_C
#endif
|