mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Make audio initialization failures non-fatal
git-svn-id: https://svn.eduke32.com/eduke32@1779 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b3cd9a73fe
commit
eb2070e9c9
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ void S_SoundStartup(void)
|
||||||
|
|
||||||
if (FX_Init(fxdevicetype, ud.config.NumVoices, ud.config.NumChannels, ud.config.NumBits, ud.config.MixRate, initdata) != FX_Ok)
|
if (FX_Init(fxdevicetype, ud.config.NumVoices, ud.config.NumChannels, ud.config.NumBits, ud.config.MixRate, initdata) != FX_Ok)
|
||||||
{
|
{
|
||||||
sprintf(tempbuf, "Sound startup error: %s", FX_ErrorString(FX_Error));
|
initprintf("%s\n", FX_ErrorString(FX_Error));
|
||||||
G_GameExit(tempbuf);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i=g_maxSoundPos; i >= 0 ; i--)
|
for (i=g_maxSoundPos; i >= 0 ; i--)
|
||||||
|
|
Loading…
Reference in a new issue