This is more useful not commented, desmume handles the error fine.
This commit is contained in:
parent
747cc72948
commit
58ac31761a
|
@ -73,9 +73,8 @@ static void MixAudio(void *userdata, Uint8 *stream, int len) {
|
||||||
|
|
||||||
int SNDSDLInit(int buffersize)
|
int SNDSDLInit(int buffersize)
|
||||||
{
|
{
|
||||||
SDL_InitSubSystem(SDL_INIT_AUDIO);
|
if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0)
|
||||||
// if (SDL_InitSubSystem(SDL_INIT_AUDIO) != 0);
|
return -1;
|
||||||
// return -1;
|
|
||||||
|
|
||||||
audiofmt.freq = 44100;
|
audiofmt.freq = 44100;
|
||||||
audiofmt.format = AUDIO_S16SYS;
|
audiofmt.format = AUDIO_S16SYS;
|
||||||
|
|
Loading…
Reference in New Issue