mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-10 13:29:56 +00:00
Fix strange speaker clicks when changing configuration - DirectSound wasn't being uninitialised on a restart (fixes #456)
This commit is contained in:
parent
f560399b6d
commit
dd510801fc
@ -1320,13 +1320,13 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
|
||||
|
||||
sg_Mouse.Uninitialize(); // Maybe restarting due to switching slot-4 card from MouseCard to Mockingboard
|
||||
LogFileOutput("Main: sg_Mouse.Uninitialize()\n");
|
||||
|
||||
DSUninit();
|
||||
LogFileOutput("Main: DSUninit()\n");
|
||||
}
|
||||
while (g_bRestart);
|
||||
|
||||
// Release COM
|
||||
DSUninit();
|
||||
LogFileOutput("Exit: DSUninit()\n");
|
||||
|
||||
SysClk_UninitTimer();
|
||||
LogFileOutput("Exit: SysClk_UninitTimer()\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user