diff options
| author | 2018-02-14 18:47:48 +0100 | |
|---|---|---|
| committer | 2018-02-25 11:44:21 +0100 | |
| commit | bc88cae0c730ece6d027778267eb0fa256479bda (patch) | |
| tree | eaf8581141f7240b6cf23eda17834558b6fe1c40 /src/core/core.h | |
| parent | Merge pull request #190 from bunnei/fix-qt-waittree (diff) | |
| download | yuzu-bc88cae0c730ece6d027778267eb0fa256479bda.tar.gz yuzu-bc88cae0c730ece6d027778267eb0fa256479bda.tar.xz yuzu-bc88cae0c730ece6d027778267eb0fa256479bda.zip | |
Implements citra-emu/citra#3184
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h index f63cc47cc..2d15ebe34 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -51,10 +51,10 @@ public: | |||
| 51 | * is not required to do a full dispatch with each instruction. NOTE: the number of instructions | 51 | * is not required to do a full dispatch with each instruction. NOTE: the number of instructions |
| 52 | * requested is not guaranteed to run, as this will be interrupted preemptively if a hardware | 52 | * requested is not guaranteed to run, as this will be interrupted preemptively if a hardware |
| 53 | * update is requested (e.g. on a thread switch). | 53 | * update is requested (e.g. on a thread switch). |
| 54 | * @param tight_loop Number of instructions to execute. | 54 | * @param tight_loop If false, the CPU single-steps. |
| 55 | * @return Result status, indicating whether or not the operation succeeded. | 55 | * @return Result status, indicating whether or not the operation succeeded. |
| 56 | */ | 56 | */ |
| 57 | ResultStatus RunLoop(int tight_loop = 100000); | 57 | ResultStatus RunLoop(bool tight_loop = true); |
| 58 | 58 | ||
| 59 | /** | 59 | /** |
| 60 | * Step the CPU one instruction | 60 | * Step the CPU one instruction |