mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-04 18:40:51 +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…
Add table
Add a link
Reference in a new issue