diff options
| author | Markus Wick <markus@selfnet.de> | 2015-09-04 09:01:11 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2015-09-04 09:01:11 +0200 |
| commit | 39ab0ebbd3ac10e8928c3d690ac70c2091800fda (patch) | |
| tree | 59593e2c0708e3dc4fdde7453c8ebe548edab317 /Source/Core/VideoCommon/Debugger.cpp | |
| parent | 4218fb4eea9a02a79ed92fb41215c466189a139e (diff) | |
| parent | a11ae2cf300a8049f72ce523f1daac0dc4a49faa (diff) | |
Merge pull request #2953 from lioncash/macro
CommonFuncs: Remove SLEEP macro
Diffstat (limited to 'Source/Core/VideoCommon/Debugger.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Debugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Debugger.cpp b/Source/Core/VideoCommon/Debugger.cpp index 0c88be57f5..755293b26c 100644 --- a/Source/Core/VideoCommon/Debugger.cpp +++ b/Source/Core/VideoCommon/Debugger.cpp @@ -6,6 +6,7 @@ #include "Common/FileUtil.h" #include "Common/IniFile.h" +#include "Common/Thread.h" #include "VideoCommon/Debugger.h" #include "VideoCommon/NativeVertexFormat.h" @@ -56,7 +57,7 @@ void GFXDebuggerCheckAndPause(bool update) while ( GFXDebuggerPauseFlag ) { if (update) GFXDebuggerUpdateScreen(); - SLEEP(5); + Common::SleepCurrentThread(5); } g_pdebugger->OnContinue(); } |
