diff options
author | Sebastian Valle <subv2112@gmail.com> | 2016-11-20 02:30:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-20 02:30:26 +0100 |
commit | 6c8857d2bb34059c6306e92a4daa4a619266c30a (patch) | |
tree | a78815f668f98aae05cb01e8f909edcc810176ab /src/core/hle/applets/erreula.cpp | |
parent | Merge pull request #2194 from jroweboy/extremely-minor-clangformat-change (diff) | |
parent | APT/Applets: Renamed the members of the SignalType enum. (diff) | |
download | yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar.gz yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar.bz2 yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar.lz yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar.xz yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.tar.zst yuzu-6c8857d2bb34059c6306e92a4daa4a619266c30a.zip |
Diffstat (limited to 'src/core/hle/applets/erreula.cpp')
-rw-r--r-- | src/core/hle/applets/erreula.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/applets/erreula.cpp b/src/core/hle/applets/erreula.cpp index 14964427b..e1379ac4d 100644 --- a/src/core/hle/applets/erreula.cpp +++ b/src/core/hle/applets/erreula.cpp @@ -10,7 +10,7 @@ namespace HLE { namespace Applets { ResultCode ErrEula::ReceiveParameter(const Service::APT::MessageParameter& parameter) { - if (parameter.signal != static_cast<u32>(Service::APT::SignalType::LibAppJustStarted)) { + if (parameter.signal != static_cast<u32>(Service::APT::SignalType::Request)) { LOG_ERROR(Service_APT, "unsupported signal %u", parameter.signal); UNIMPLEMENTED(); // TODO(Subv): Find the right error code @@ -36,7 +36,7 @@ ResultCode ErrEula::ReceiveParameter(const Service::APT::MessageParameter& param // Send the response message with the newly created SharedMemory Service::APT::MessageParameter result; - result.signal = static_cast<u32>(Service::APT::SignalType::LibAppFinished); + result.signal = static_cast<u32>(Service::APT::SignalType::Response); result.buffer.clear(); result.destination_id = static_cast<u32>(Service::APT::AppletId::Application); result.sender_id = static_cast<u32>(id); @@ -57,7 +57,7 @@ ResultCode ErrEula::StartImpl(const Service::APT::AppletStartupParameter& parame Service::APT::MessageParameter message; message.buffer.resize(parameter.buffer.size()); std::fill(message.buffer.begin(), message.buffer.end(), 0); - message.signal = static_cast<u32>(Service::APT::SignalType::LibAppClosed); + message.signal = static_cast<u32>(Service::APT::SignalType::WakeupByExit); message.destination_id = static_cast<u32>(Service::APT::AppletId::Application); message.sender_id = static_cast<u32>(id); Service::APT::SendParameter(message); |