basementApe reported segfaults in the audio init logic.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6263 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f1c714a187
commit
89c37774ae
1 changed files with 2 additions and 2 deletions
|
@ -225,8 +225,8 @@ qboolean QDECL WAV_InitCard (soundcardinfo_t *sc, const char *cardname)
|
|||
HRESULT hr;
|
||||
wavhandle_t *wh;
|
||||
|
||||
if (*cardname)
|
||||
return false; //we only support one card, at the moment.
|
||||
if (cardname && *cardname)
|
||||
return false; //we don't support explicit devices, so only accept default devices.
|
||||
|
||||
wh = sc->handle = Z_Malloc(sizeof(wavhandle_t));
|
||||
|
||||
|
|
Loading…
Reference in a new issue