From f9d04ae1ad7696047538b73b1677f3875b6c87c1 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Sun, 31 Aug 2008 23:06:21 +0000 Subject: [PATCH] Put dsp_thread_debug() entirely inside the "#ifdef _WIN32" block, since it is only used on Windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@415 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_LLE/Src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp b/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp index 98221d9e7e..f27e860f64 100644 --- a/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp +++ b/Source/Plugins/Plugin_DSP_LLE/Src/main.cpp @@ -125,9 +125,9 @@ void* dsp_thread(void* lpParameter) } +#ifdef _WIN32 DWORD WINAPI dsp_thread_debug(LPVOID lpParameter) { -#ifdef _WIN32 while (1) { if (g_Dialog.CanDoStep()) @@ -139,8 +139,8 @@ DWORD WINAPI dsp_thread_debug(LPVOID lpParameter) Sleep(100); } } -#endif } +#endif void DSP_DebugBreak()