- Fix memory leak in DMA sound after S_Shutdown()
- Make codec load use temp hunk memory instead of zone mem - Fix sound issues with direct sound and game_restart (#4526)
This commit is contained in:
parent
f921cddc2b
commit
a5f31084d4
10 changed files with 34 additions and 23 deletions
|
@ -2408,10 +2408,10 @@ void Com_GameRestart(int checksumFeed, qboolean clientRestart)
|
|||
// Clean out any user and VM created cvars
|
||||
Cvar_Restart(qtrue);
|
||||
Com_ExecuteCfg();
|
||||
|
||||
// Restart sound subsystem so old handles are flushed
|
||||
CL_Snd_Restart();
|
||||
|
||||
// shut down sound system before restart
|
||||
CL_Snd_Shutdown();
|
||||
|
||||
if(clientRestart)
|
||||
CL_StartHunkUsers(qfalse);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue