This commit is contained in:
N00byKing 2018-02-14 18:47:48 +01:00 committed by N00byKing
parent b65c096be5
commit bc88cae0c7
7 changed files with 41 additions and 41 deletions

View file

@ -51,10 +51,10 @@ public:
* is not required to do a full dispatch with each instruction. NOTE: the number of instructions
* requested is not guaranteed to run, as this will be interrupted preemptively if a hardware
* update is requested (e.g. on a thread switch).
* @param tight_loop Number of instructions to execute.
* @param tight_loop If false, the CPU single-steps.
* @return Result status, indicating whether or not the operation succeeded.
*/
ResultStatus RunLoop(int tight_loop = 100000);
ResultStatus RunLoop(bool tight_loop = true);
/**
* Step the CPU one instruction