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/nfp/nfp.cpp | |
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/nfp/nfp.cpp')
-rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index aa886cd3e..795d7b716 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -26,8 +26,7 @@ constexpr ResultCode ERR_NO_APPLICATION_AREA(ErrorModule::NFP, 152); Module::Interface::Interface(std::shared_ptr<Module> module, Core::System& system, const char* name) : ServiceFramework(name), module(std::move(module)), system(system) { auto& kernel = system.Kernel(); - nfc_tag_load = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Automatic, - "IUser:NFCTagDetected"); + nfc_tag_load = Kernel::WritableEvent::CreateEventPair(kernel, "IUser:NFCTagDetected"); } Module::Interface::~Interface() = default; @@ -66,10 +65,9 @@ public: RegisterHandlers(functions); auto& kernel = system.Kernel(); - deactivate_event = Kernel::WritableEvent::CreateEventPair( - kernel, Kernel::ResetType::Automatic, "IUser:DeactivateEvent"); - availability_change_event = Kernel::WritableEvent::CreateEventPair( - kernel, Kernel::ResetType::Automatic, "IUser:AvailabilityChangeEvent"); + deactivate_event = Kernel::WritableEvent::CreateEventPair(kernel, "IUser:DeactivateEvent"); + availability_change_event = + Kernel::WritableEvent::CreateEventPair(kernel, "IUser:AvailabilityChangeEvent"); } private: |