aboutsummaryrefslogtreecommitdiff
path: root/source/apu.h
diff options
context:
space:
mode:
authoraliaspider2014-10-29 06:47:46 +0100
committeraliaspider2014-10-29 06:47:46 +0100
commit761d752569b9bad6bdb755e91ca9e345cfb2788d (patch)
tree5eaa11c172c08039757d6bee1a3641e051462d3a /source/apu.h
parenta6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a (diff)
downloadsnes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.gz
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.bz2
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.zip
C++ cleanups. (in progress)
Diffstat (limited to 'source/apu.h')
-rw-r--r--source/apu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/apu.h b/source/apu.h
index b675dfd..7cce703 100644
--- a/source/apu.h
+++ b/source/apu.h
@@ -128,8 +128,8 @@ struct SAPU
bool8 TimerValueWritten [3];
};
-EXTERN_C struct SAPU APU;
-EXTERN_C struct SIAPU IAPU;
+struct SAPU APU;
+struct SIAPU IAPU;
extern int spc_is_dumping;
extern int spc_is_dumping_temp;
extern uint8 spc_dump_dsp[0x100];
@@ -147,7 +147,6 @@ STATIC inline void S9xAPUPackStatus()
(IAPU._Zero & 0x80) | (IAPU._Overflow << 6);
}
-START_EXTERN_C
void S9xResetAPU (void);
bool8 S9xInitAPU ();
void S9xDeinitAPU ();
@@ -164,7 +163,6 @@ void S9xPrintAPUState ();
extern uint16 S9xAPUCycles [256]; // Scaled cycle lengths
extern uint16 S9xAPUCycleLengths [256]; // Raw data.
extern void (*S9xApuOpcodes [256]) (void);
-END_EXTERN_C
#define APU_VOL_LEFT 0x00