summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-05-27 22:21:06 +0200
committerSubv <subv2112@gmail.com>2015-07-12 05:32:12 +0200
commit725d5eea7879fa152c51f15fd76003d3c6bc44ed (patch)
treec260c6e094467c5d6b4694283573381310c2c96c /src/core/hle/service/apt
parentApplets: Add infrastructure to allow custom drawing and input handling in Applets. (diff)
downloadyuzu-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.cpp4
-rw-r--r--src/core/hle/service/apt/apt.h2
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