ac97snd: one more attempt to fix '-h'

git-svn-id: svn://kolibrios.org@7176 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2018-03-06 23:56:24 +00:00
parent f91398b928
commit 2253085d89

View File

@ -497,6 +497,7 @@ void debug_out_str(const char* str)
void ExitInHiddenMode()
{
status = ST_EXIT; //send message to second process about exit
uFMOD_StopSong();
StopBuffer(hBuff);
DestroyBuffer(hBuff);
@ -706,7 +707,7 @@ int main(int argc, char *argv[])
if (!LoadFile(full_filename))
return 0;
tid=create_thread(thread_proc, 0, 4096);
if (!hidden) tid=create_thread(thread_proc, 0, 4096);
while(1)
{ delay(10);