From d141dd6509f52275325c8402b918072e35a65fe1 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 31 Mar 2011 17:18:37 +0000 Subject: [PATCH] Linux build fix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7428 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/Core.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 1a7a012b8f..8406bc9469 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -59,7 +59,9 @@ #include "ConfigManager.h" #include "VideoBackendBase.h" #include "OnScreenDisplay.h" +#ifdef _WIN32 #include "EmuWindow.h" +#endif #include "VolumeHandler.h" #include "FileMonitor.h" @@ -240,7 +242,9 @@ void Stop() // - Hammertime! INFO_LOG(CONSOLE, "%s", StopMessage(true, "Main Emu thread stopped").c_str()); +#ifdef _WIN32 EmuWindow::Close(); +#endif // Clear on screen messages that haven't expired g_video_backend->Video_ClearMessages();