mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
do shm = 0 after SNDDMA_Shutdown is called
This commit is contained in:
parent
bfbcf8fac2
commit
aef4cd6da7
1 changed files with 2 additions and 1 deletions
|
@ -348,12 +348,13 @@ I_S_Shutdown (void)
|
||||||
if (shm)
|
if (shm)
|
||||||
shm->gamealive = 0;
|
shm->gamealive = 0;
|
||||||
|
|
||||||
shm = 0;
|
|
||||||
sound_started = 0;
|
sound_started = 0;
|
||||||
|
|
||||||
if (!fakedma) {
|
if (!fakedma) {
|
||||||
SNDDMA_Shutdown ();
|
SNDDMA_Shutdown ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
shm = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue