From 421794f122e96a732d7e60ec21a5cca949e780ac Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Thu, 6 Sep 2001 21:09:54 +0000 Subject: [PATCH] Fixed shutdown --- zsnes/src/win/winlink.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 9c6a344e..7363b5dc 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -438,7 +438,9 @@ void ExitFunction() ReleaseDirectInput(); ReleaseDirectSound(); ReleaseDirectDraw(); - FreeDirectX(); + FreeLibrary(hM_dsound); + FreeLibrary(hM_ddraw); + FreeLibrary(hM_dinput8); DestroyWindow(hMainWindow); }