diff options
author | Twinaphex | 2020-01-04 19:52:02 +0100 |
---|---|---|
committer | GitHub | 2020-01-04 19:52:02 +0100 |
commit | 46447760df78e372c2aef3083f1cf8fea59e66f3 (patch) | |
tree | 0efe76176c20582269e8b0276691ae52ebfed61a | |
parent | 5652557c5e052b332566db758baec5190b09d8e9 (diff) | |
parent | 769920d869e5ea2022b3d0c719b99b14599dedf0 (diff) | |
download | snes9x2002-46447760df78e372c2aef3083f1cf8fea59e66f3.tar.gz snes9x2002-46447760df78e372c2aef3083f1cf8fea59e66f3.tar.bz2 snes9x2002-46447760df78e372c2aef3083f1cf8fea59e66f3.zip |
Merge pull request #38 from ToadKing/fix-emscripten
fix emscripten
-rw-r--r-- | src/apu.c | 3 | ||||
-rw-r--r-- | src/apu.h | 4 | ||||
-rw-r--r-- | src/ppu_.c | 2 |
3 files changed, 4 insertions, 5 deletions
@@ -46,6 +46,7 @@ #include "snes9x.h"
#include "spc700.h"
#include "apu.h"
+#include "apumem.h"
#include "soundux.h"
#include "cpuexec.h"
@@ -410,8 +411,6 @@ void S9xDeinitAPU() }
}
-uint8 APUROM [64];
-
void S9xResetAPU(void)
{
int i, j;
@@ -103,8 +103,8 @@ typedef struct } SIAPU;
-SAPU APU;
-SIAPU IAPU;
+extern SAPU APU;
+extern SIAPU IAPU;
static INLINE void S9xAPUUnpackStatus(void)
{
@@ -900,7 +900,7 @@ void S9xSetPPU(uint8 Byte, uint16 Address) if (Byte & FLG_G) S9xSuperFXExec(); else - FxFlushCache(&GSU); + FxFlushCache(); } else Memory.FillRAM [Address] = Byte; |