mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-13 00:34:11 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
f81f9f5e05
press Esc to get the menu, minimize using the mouse on the window's minimize icon and then restore and you'll have sound all the same. HOWEVER: If you minimize by pressing the icon on the start bar, sound will be lost upon restoring. Or, if you use alt-tab to get away from the game window the same will happen. Or, if you run the game fullscreen and use alt-tab to go to the desktop (alt-tab is the only way I know) you will lose the sound again. Here, we are probably are hitting an SDL_APPACTIVE or SDL_APPINPUTFOCUS event more than once and since the block counter goes > 1 we are not restoring properly. For now, making snd_blocked to act as a boolean and not as a counter fixes the issue. Hmmm... * main_sdl.c: Revert revision 238 change, no longer necessary. * snd_dma.c: Make snd_blocked act as a boolean and not as a counter. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@241 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
Linux | ||
MacOSX | ||
Misc | ||
Quake | ||
Windows | ||
gnu.txt |