mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 09:18:36 +00:00
CommonFuncs: Remove SLEEP macro
There's already a function in Thread for this.
This commit is contained in:
parent
4218fb4eea
commit
a11ae2cf30
6 changed files with 9 additions and 16 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue