fix emscripten

This commit is contained in:
Toad King 2020-01-04 12:25:02 -06:00
parent bc69ab7e61
commit ae87b7186c
4 changed files with 5 additions and 8 deletions

View File

@ -5,6 +5,7 @@
#include "snes9x.h"
#include "spc700.h"
#include "apu.h"
#include "apumem.h"
#include "soundux.h"
#include "cpuexec.h"
@ -32,8 +33,6 @@ void S9xDeinitAPU()
}
}
uint8_t APUROM [64];
void S9xResetAPU()
{
int32_t i, j;

View File

@ -46,8 +46,8 @@ typedef struct
bool UNUSED2 [3];
} SAPU;
SAPU APU;
SIAPU IAPU;
extern SAPU APU;
extern SIAPU IAPU;
static INLINE void S9xAPUUnpackStatus(void)
{

View File

@ -18,8 +18,6 @@
#include <retro_inline.h>
int32_t OpAddress;
/* ADC */
static void Op69M1(void)
{

View File

@ -48,7 +48,7 @@ typedef struct
bool mute_sound;
} SoundStatus;
SoundStatus so;
extern SoundStatus so;
typedef struct
{
@ -105,7 +105,7 @@ typedef struct
int32_t noise_hertz;
} SSoundData;
SSoundData SoundData;
extern SSoundData SoundData;
void S9xSetSoundVolume(int32_t channel, int16_t volume_left, int16_t volume_right);
void S9xSetSoundFrequency(int32_t channel, int32_t hertz);