Permalink
Browse files

Add missing includes. Remove some more unnecessary #ifdef _DEBUG chec…

…ks - the debugger is supposed to work in release mode too.
  • Loading branch information...
hrydgard committed Dec 20, 2017
1 parent 740d050 commit 4f1e0de9a92ae3747daafcb894fab27f8eb50ea3
View
@@ -213,7 +213,7 @@ void Core_RunLoop(GraphicsContext *ctx) {
double diffTime = time_now_d() - startTime;
int sleepTime = (int)(1000.0 / 60.0) - (int)(diffTime * 1000.0);
if (sleepTime > 0)
Sleep(sleepTime);
sleep_ms(sleepTime);
if (!windowHidden) {
ctx->SwapBuffers();
}
@@ -292,11 +292,9 @@ void Core_Run(GraphicsContext *ctx) {
}
// wait for step command..
#if defined(_DEBUG)
host->UpdateDisassembly();
host->UpdateMemView();
host->SendCoreWait(true);
#endif
{
std::unique_lock<std::mutex> guard(m_hStepMutex);
View
@@ -30,6 +30,7 @@
#include <functional>
#include <thread>
#include <mutex>
#include <condition_variable>
#include "base/basictypes.h"
#include "profiler/profiler.h"
View
@@ -16,6 +16,8 @@
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include <thread>
#include <mutex>
#include <condition_variable>
#include "Core/Reporting.h"
View
@@ -24,8 +24,10 @@
#include <string>
#include <codecvt>
#endif
#include <thread>
#include <mutex>
#include <condition_variable>
#include "math/math_util.h"
#include "thread/threadutil.h"
View
@@ -17,6 +17,8 @@
#include <algorithm>
#include <thread>
#include <mutex>
#include <condition_variable>
#include "base/timeutil.h"
#include "ext/vjson/json.h"
View
@@ -19,6 +19,7 @@
#include <thread>
#include <memory>
#include <mutex>
#include <condition_variable>
#include "input/input_state.h"
#include "thread/threadutil.h"
@@ -3,6 +3,7 @@
#include <vector>
#include <limits>
#include <mutex>
#include <condition_variable>
#include "base/basictypes.h"
#include "thread/threadutil.h"

0 comments on commit 4f1e0de

Please sign in to comment.