mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-02-14 12:48:54 +00:00
[PATCH] Fix logic error with first time sound initialisation
Minor ordering fix so that the message signifying that no sound device was initialised gets printed to the console as intended. Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
parent
ca761e1147
commit
89ded21f0a
@ -589,13 +589,14 @@ SNDDMA_Init(void)
|
||||
}
|
||||
}
|
||||
|
||||
snd_firsttime = false;
|
||||
if (!dsound_init && !wav_init) {
|
||||
if (snd_firsttime)
|
||||
if (snd_firsttime) {
|
||||
Con_SafePrintf("No sound device initialized\n");
|
||||
|
||||
snd_firsttime = false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
snd_firsttime = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user