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/mii_selector.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/mii_selector.cpp')
| -rw-r--r-- | src/core/hle/applets/mii_selector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp index 53a8683a4..3455b9201 100644 --- a/src/core/hle/applets/mii_selector.cpp +++ b/src/core/hle/applets/mii_selector.cpp @@ -19,7 +19,7 @@ namespace HLE { namespace Applets { ResultCode MiiSelector::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 @@ -44,7 +44,7 @@ ResultCode MiiSelector::ReceiveParameter(const Service::APT::MessageParameter& p // 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); @@ -73,7 +73,7 @@ ResultCode MiiSelector::StartImpl(const Service::APT::AppletStartupParameter& pa Service::APT::MessageParameter message; message.buffer.resize(sizeof(MiiResult)); std::memcpy(message.buffer.data(), &result, message.buffer.size()); - 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); |
