2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

service/audio/audren_u: Correct event reset type for the system event

This is actually an auto-reset event in the audio service itself, not a
manual one.
This commit is contained in:
Lioncash 2019-06-18 09:23:18 -04:00
parent 834e07d639
commit 5799404b78

View file

@ -47,7 +47,7 @@ public:
auto& system = Core::System::GetInstance();
system_event = Kernel::WritableEvent::CreateEventPair(
system.Kernel(), Kernel::ResetType::Manual, "IAudioRenderer:SystemEvent");
system.Kernel(), Kernel::ResetType::Automatic, "IAudioRenderer:SystemEvent");
renderer = std::make_unique<AudioCore::AudioRenderer>(system.CoreTiming(), audren_params,
system_event.writable);
}