diff options
| author | Subv <subv2112@gmail.com> | 2016-11-19 13:07:03 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-11-19 13:42:07 -0500 |
| commit | d7ab4fd53d3388a99b15a712b54530316ddcbbe5 (patch) | |
| tree | e82cc4d736db24a04d23e68eaf9ec903c84db1e5 /src/core/hle/applets/erreula.cpp | |
| parent | fb13bfe693e9536df700b675fef3affe09622fdd (diff) | |
APT/Applets: Renamed the members of the SignalType enum.
Names now make sense and match 3dbrew.
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); |
