Fixed crash in demo if no songs.

This commit is contained in:
Chris Danford
2003-01-19 21:08:44 +00:00
parent d84e10f9d2
commit e17ba826b0
2 changed files with 10 additions and 9 deletions
-2
View File
@@ -207,8 +207,6 @@ static void BoostAppPri()
if(version.dwMajorVersion >= 5)
pri = ABOVE_NORMAL_PRIORITY_CLASS;
#include <winbase.h>
/* Be sure to boost the app, not the thread, to make sure the
* sound thread stays higher priority than the main thread. */
SetPriorityClass(GetCurrentProcess(), pri);