summaryrefslogtreecommitdiff
path: root/src/core/hle/hle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/hle.cpp')
-rw-r--r--src/core/hle/hle.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp
index 5c5373517..41b772163 100644
--- a/src/core/hle/hle.cpp
+++ b/src/core/hle/hle.cpp
@@ -4,7 +4,6 @@
4 4
5#include "common/assert.h" 5#include "common/assert.h"
6#include "common/logging/log.h" 6#include "common/logging/log.h"
7
8#include "core/arm/arm_interface.h" 7#include "core/arm/arm_interface.h"
9#include "core/core.h" 8#include "core/core.h"
10#include "core/hle/hle.h" 9#include "core/hle/hle.h"
@@ -15,13 +14,13 @@
15namespace { 14namespace {
16 15
17bool reschedule; ///< If true, immediately reschedules the CPU to a new thread 16bool reschedule; ///< If true, immediately reschedules the CPU to a new thread
18
19} 17}
20 18
21namespace HLE { 19namespace HLE {
22 20
23void Reschedule(const char *reason) { 21void Reschedule(const char* reason) {
24 DEBUG_ASSERT_MSG(reason != nullptr && strlen(reason) < 256, "Reschedule: Invalid or too long reason."); 22 DEBUG_ASSERT_MSG(reason != nullptr && strlen(reason) < 256,
23 "Reschedule: Invalid or too long reason.");
25 24
26 // TODO(bunnei): It seems that games depend on some CPU execution time elapsing during HLE 25 // TODO(bunnei): It seems that games depend on some CPU execution time elapsing during HLE
27 // routines. This simulates that time by artificially advancing the number of CPU "ticks". 26 // routines. This simulates that time by artificially advancing the number of CPU "ticks".