summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-14 23:30:38 +0200
committerGitHub <noreply@github.com>2022-10-14 23:30:38 +0200
commitae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433 (patch)
tree4b04503746cd43789b1a812756974e38868be4cc /src/audio_core/renderer
parentMerge pull request #9055 from liamwhite/hbl (diff)
parentkernel: remove KWritableEvent (diff)
downloadyuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar.gz
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar.bz2
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar.lz
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar.xz
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.tar.zst
yuzu-ae6dd1143c0549fe5bcbd7326c69cbcb6b5a4433.zip
Diffstat (limited to 'src/audio_core/renderer')
-rw-r--r--src/audio_core/renderer/system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp
index 7a217969e..bde794cd1 100644
--- a/src/audio_core/renderer/system.cpp
+++ b/src/audio_core/renderer/system.cpp
@@ -534,7 +534,7 @@ Result System::Update(std::span<const u8> input, std::span<u8> performance, std:
return result;
}
- adsp_rendered_event->GetWritableEvent().Clear();
+ adsp_rendered_event->Clear();
num_times_updated++;
const auto end_time{core.CoreTiming().GetClockTicks()};
@@ -625,7 +625,7 @@ void System::SendCommandToDsp() {
reset_command_buffers = false;
command_buffer_size = command_size;
if (remaining_command_count == 0) {
- adsp_rendered_event->GetWritableEvent().Signal();
+ adsp_rendered_event->Signal();
}
} else {
adsp.ClearRemainCount(session_id);