diff options
| author | 2021-10-15 16:14:32 -0700 | |
|---|---|---|
| committer | 2021-10-15 16:14:32 -0700 | |
| commit | aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5 (patch) | |
| tree | 9ae1d8b30878562389498bd9f3b8ced582b6661d /src/core/core.h | |
| parent | Merge pull request #7189 from FearlessTobi/translation-ci (diff) | |
| parent | NvHost/Core: Address Feedback. (diff) | |
| download | yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.gz yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.xz yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.zip | |
Merge pull request #7187 from FernandoS27/boy-i-say-boy
NVHost_Ctrl: Force wait if the gpu falls behind too long.
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index c1234ef77..1cfe1bba6 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <cstddef> | 7 | #include <cstddef> |
| 8 | #include <functional> | 8 | #include <functional> |
| 9 | #include <memory> | 9 | #include <memory> |
| 10 | #include <mutex> | ||
| 10 | #include <string> | 11 | #include <string> |
| 11 | #include <vector> | 12 | #include <vector> |
| 12 | 13 | ||
| @@ -160,6 +161,9 @@ public: | |||
| 160 | /// Shutdown the emulated system. | 161 | /// Shutdown the emulated system. |
| 161 | void Shutdown(); | 162 | void Shutdown(); |
| 162 | 163 | ||
| 164 | std::unique_lock<std::mutex> StallCPU(); | ||
| 165 | void UnstallCPU(); | ||
| 166 | |||
| 163 | /** | 167 | /** |
| 164 | * Load an executable application. | 168 | * Load an executable application. |
| 165 | * @param emu_window Reference to the host-system window used for video output and keyboard | 169 | * @param emu_window Reference to the host-system window used for video output and keyboard |