diff options
| author | 2020-05-29 17:37:57 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:36:23 -0400 | |
| commit | e3d561fb842fa9ea986064a9a73001a5889f15d8 (patch) | |
| tree | eac6c57ab550d37d5b78a93431d34baa51950fb7 /src/core | |
| parent | Common/Kernel: Corrections and small bug fixing. (diff) | |
| download | yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.gz yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.tar.xz yuzu-e3d561fb842fa9ea986064a9a73001a5889f15d8.zip | |
Audio: Correct buffer release for host timing.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/core_timing.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core_timing.h b/src/core/core_timing.h index ed5de9b97..72faaab64 100644 --- a/src/core/core_timing.h +++ b/src/core/core_timing.h | |||
| @@ -72,6 +72,11 @@ public: | |||
| 72 | this->is_multicore = is_multicore; | 72 | this->is_multicore = is_multicore; |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | /// Check if it's using host timing. | ||
| 76 | bool IsHostTiming() const { | ||
| 77 | return is_multicore; | ||
| 78 | } | ||
| 79 | |||
| 75 | /// Pauses/Unpauses the execution of the timer thread. | 80 | /// Pauses/Unpauses the execution of the timer thread. |
| 76 | void Pause(bool is_paused); | 81 | void Pause(bool is_paused); |
| 77 | 82 | ||