mirror of
https://github.com/libretro/snes9x2005.git
synced 2025-02-17 07:20:31 +00:00
fix emscripten
This commit is contained in:
parent
bc69ab7e61
commit
ae87b7186c
@ -5,6 +5,7 @@
|
|||||||
#include "snes9x.h"
|
#include "snes9x.h"
|
||||||
#include "spc700.h"
|
#include "spc700.h"
|
||||||
#include "apu.h"
|
#include "apu.h"
|
||||||
|
#include "apumem.h"
|
||||||
#include "soundux.h"
|
#include "soundux.h"
|
||||||
#include "cpuexec.h"
|
#include "cpuexec.h"
|
||||||
|
|
||||||
@ -32,8 +33,6 @@ void S9xDeinitAPU()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t APUROM [64];
|
|
||||||
|
|
||||||
void S9xResetAPU()
|
void S9xResetAPU()
|
||||||
{
|
{
|
||||||
int32_t i, j;
|
int32_t i, j;
|
||||||
|
@ -46,8 +46,8 @@ typedef struct
|
|||||||
bool UNUSED2 [3];
|
bool UNUSED2 [3];
|
||||||
} SAPU;
|
} SAPU;
|
||||||
|
|
||||||
SAPU APU;
|
extern SAPU APU;
|
||||||
SIAPU IAPU;
|
extern SIAPU IAPU;
|
||||||
|
|
||||||
static INLINE void S9xAPUUnpackStatus(void)
|
static INLINE void S9xAPUUnpackStatus(void)
|
||||||
{
|
{
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
#include <retro_inline.h>
|
#include <retro_inline.h>
|
||||||
|
|
||||||
int32_t OpAddress;
|
|
||||||
|
|
||||||
/* ADC */
|
/* ADC */
|
||||||
static void Op69M1(void)
|
static void Op69M1(void)
|
||||||
{
|
{
|
||||||
|
@ -48,7 +48,7 @@ typedef struct
|
|||||||
bool mute_sound;
|
bool mute_sound;
|
||||||
} SoundStatus;
|
} SoundStatus;
|
||||||
|
|
||||||
SoundStatus so;
|
extern SoundStatus so;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
@ -105,7 +105,7 @@ typedef struct
|
|||||||
int32_t noise_hertz;
|
int32_t noise_hertz;
|
||||||
} SSoundData;
|
} SSoundData;
|
||||||
|
|
||||||
SSoundData SoundData;
|
extern SSoundData SoundData;
|
||||||
|
|
||||||
void S9xSetSoundVolume(int32_t channel, int16_t volume_left, int16_t volume_right);
|
void S9xSetSoundVolume(int32_t channel, int16_t volume_left, int16_t volume_right);
|
||||||
void S9xSetSoundFrequency(int32_t channel, int32_t hertz);
|
void S9xSetSoundFrequency(int32_t channel, int32_t hertz);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user