diff options
author | Subv <subv2112@gmail.com> | 2015-05-27 22:21:06 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-12 05:32:12 +0200 |
commit | 725d5eea7879fa152c51f15fd76003d3c6bc44ed (patch) | |
tree | c260c6e094467c5d6b4694283573381310c2c96c /src/core/hle/service/apt | |
parent | Applets: Add infrastructure to allow custom drawing and input handling in Applets. (diff) | |
download | yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar.gz yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar.bz2 yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar.lz yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar.xz yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.tar.zst yuzu-725d5eea7879fa152c51f15fd76003d3c6bc44ed.zip |
Diffstat (limited to 'src/core/hle/service/apt')
-rw-r--r-- | src/core/hle/service/apt/apt.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/service/apt/apt.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp index 783fad7ca..b364beed9 100644 --- a/src/core/hle/service/apt/apt.cpp +++ b/src/core/hle/service/apt/apt.cpp @@ -44,7 +44,7 @@ static u32 cpu_percent; ///< CPU time available to the running application /// Parameter data to be returned in the next call to Glance/ReceiveParameter static MessageParameter next_parameter; -void SendParameter(MessageParameter const& parameter) { +void SendParameter(const MessageParameter& parameter) { next_parameter = parameter; // Signal the event to let the application know that a new parameter is ready to be read parameter_event->Signal(); @@ -338,7 +338,7 @@ void StartLibraryApplet(Service::Interface* self) { u32* cmd_buff = Kernel::GetCommandBuffer(); AppletId applet_id = static_cast<AppletId>(cmd_buff[1]); std::shared_ptr<HLE::Applets::Applet> applet = HLE::Applets::Applet::Get(applet_id); - + LOG_DEBUG(Service_APT, "called applet_id=%08X", applet_id); if (applet == nullptr) { diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index 510193cc8..9f0802508 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h @@ -63,7 +63,7 @@ enum class AppletId : u32 { }; /// Send a parameter to the currently-running application, which will read it via ReceiveParameter -void SendParameter(MessageParameter const& parameter); +void SendParameter(const MessageParameter& parameter); /** * APT::Initialize service function |