ARM: Add a mechanism for faking CPU time elapsed during HLE.

- Also a few cleanups.
This commit is contained in:
bunnei 2014-12-23 22:45:52 -05:00
parent 5241e7a9c3
commit 4783133bbd
6 changed files with 39 additions and 95 deletions

View file

@ -60,6 +60,12 @@ public:
*/
u64 GetTicks() const override;
/**
* Advance the CPU core by the specified number of ticks (e.g. to simulate CPU execution time)
* @param ticks Number of ticks to advance the CPU core
*/
void AddTicks(u64 ticks) override;
/**
* Saves the current CPU context
* @param ctx Thread context to save