Completely remove systemSoundOn
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@662 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
fc5958a78d
commit
ac064ec715
|
@ -114,7 +114,6 @@ extern void winlog(const char *,...);
|
|||
extern void (*dbgOutput)(const char *s, u32 addr);
|
||||
extern void (*dbgSignal)(int sig,int number);
|
||||
|
||||
extern bool systemSoundOn;
|
||||
extern u16 systemColorMap16[0x10000];
|
||||
extern u32 systemColorMap32[0x10000];
|
||||
extern u16 systemGbPalette[24];
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
|
||||
extern int emulating;
|
||||
|
||||
bool systemSoundOn = false;
|
||||
|
||||
static PaStreamParameters outputParameters;
|
||||
static PaStream *stream;
|
||||
static PaError err;
|
||||
|
@ -150,8 +148,6 @@ bool systemSoundInit()
|
|||
err = Pa_StartStream( stream );
|
||||
if (err != paNoError) goto error;
|
||||
|
||||
systemSoundOn = true;
|
||||
|
||||
return true;
|
||||
error:
|
||||
Pa_Terminate();
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
int emulating = 0;
|
||||
int systemFrameSkip = 0;
|
||||
int systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED;
|
||||
bool systemSoundOn = false;
|
||||
u32 systemColorMap32[0x10000];
|
||||
u16 systemColorMap16[0x10000];
|
||||
int systemRedShift = 0;
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
extern int emulating;
|
||||
extern int systemFrameSkip;
|
||||
extern int systemSaveUpdateCounter;
|
||||
extern bool systemSoundOn;
|
||||
extern u32 systemColorMap32[0x10000];
|
||||
extern u16 systemColorMap16[0x10000];
|
||||
extern int systemRedShift;
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
extern int emulating;
|
||||
|
||||
bool systemSoundOn = false;
|
||||
|
||||
const int sdlSoundSamples = 4096;
|
||||
const int sdlSoundAlign = 4;
|
||||
const int sdlSoundCapacity = sdlSoundSamples * 2;
|
||||
|
@ -131,7 +129,6 @@ bool systemSoundInit()
|
|||
sdlSoundMutex = SDL_CreateMutex();
|
||||
|
||||
sdlSoundRPos = sdlSoundWPos = 0;
|
||||
systemSoundOn = true;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
@ -153,7 +150,6 @@ void systemSoundShutdown()
|
|||
SDL_CloseAudio();
|
||||
|
||||
emulating = iSave;
|
||||
systemSoundOn = false;
|
||||
}
|
||||
|
||||
void systemSoundPause()
|
||||
|
|
|
@ -144,7 +144,6 @@ int RGB_LOW_BITS_MASK = 0;
|
|||
bool b16to32Video = false;
|
||||
int systemFrameSkip = 0;
|
||||
int systemSpeed = 0;
|
||||
bool systemSoundOn = false;
|
||||
u32 systemColorMap32[0x10000];
|
||||
u16 systemColorMap16[0x10000];
|
||||
u16 systemGbPalette[24];
|
||||
|
|
Loading…
Reference in New Issue