diff options
| author | 2014-12-23 22:45:52 -0500 | |
|---|---|---|
| committer | 2014-12-25 22:46:44 -0500 | |
| commit | 4783133bbd651590b5116be95a5deda31fe9f4dc (patch) | |
| tree | daf8cd9fd9be955d30ba217087003ed653342cb3 /src/core/arm/arm_interface.h | |
| parent | Update README.md (fix typo) (diff) | |
| download | yuzu-4783133bbd651590b5116be95a5deda31fe9f4dc.tar.gz yuzu-4783133bbd651590b5116be95a5deda31fe9f4dc.tar.xz yuzu-4783133bbd651590b5116be95a5deda31fe9f4dc.zip | |
ARM: Add a mechanism for faking CPU time elapsed during HLE.
- Also a few cleanups.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index c59355339..3b7209418 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -78,6 +78,12 @@ public: | |||
| 78 | virtual u64 GetTicks() const = 0; | 78 | virtual u64 GetTicks() const = 0; |
| 79 | 79 | ||
| 80 | /** | 80 | /** |
| 81 | * Advance the CPU core by the specified number of ticks (e.g. to simulate CPU execution time) | ||
| 82 | * @param ticks Number of ticks to advance the CPU core | ||
| 83 | */ | ||
| 84 | virtual void AddTicks(u64 ticks) = 0; | ||
| 85 | |||
| 86 | /** | ||
| 81 | * Saves the current CPU context | 87 | * Saves the current CPU context |
| 82 | * @param ctx Thread context to save | 88 | * @param ctx Thread context to save |
| 83 | */ | 89 | */ |