diff options
Diffstat (limited to 'src/core/hle/hle.cpp')
| -rw-r--r-- | src/core/hle/hle.cpp | 7 |
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 @@ | |||
| 15 | namespace { | 14 | namespace { |
| 16 | 15 | ||
| 17 | bool reschedule; ///< If true, immediately reschedules the CPU to a new thread | 16 | bool reschedule; ///< If true, immediately reschedules the CPU to a new thread |
| 18 | |||
| 19 | } | 17 | } |
| 20 | 18 | ||
| 21 | namespace HLE { | 19 | namespace HLE { |
| 22 | 20 | ||
| 23 | void Reschedule(const char *reason) { | 21 | void 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". |