diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-03 10:10:12 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-11-03 10:22:45 +0100 |
commit | b0ab803ce853739a0b8595ee95599d0fab46c78a (patch) | |
tree | 0430782a5fae74d06891dad3732db26d5dd4a189 /src/core/hle/service/nvdrv | |
parent | kernel: readable_event: Initialize members. (diff) | |
download | yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.gz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.bz2 yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.lz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.xz yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.zst yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index 7bfb99e34..cc9cd3fd1 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -40,8 +40,7 @@ Module::Module(Core::System& system) { auto& kernel = system.Kernel(); for (u32 i = 0; i < MaxNvEvents; i++) { std::string event_label = fmt::format("NVDRV::NvEvent_{}", i); - events_interface.events[i] = - Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Manual, event_label); + events_interface.events[i] = Kernel::WritableEvent::CreateEventPair(kernel, event_label); events_interface.status[i] = EventState::Free; events_interface.registered[i] = false; } |