summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/general_backend.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-02-06 08:31:13 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-04-15 07:53:16 +0200
commitd1e40dd24427582b0329e6470c21a4e774afb400 (patch)
treeaccbd696faf4680526de90da9970512cd976ee2c /src/core/hle/service/am/applets/general_backend.cpp
parentapplets: Remove the previous software keyboard applet implementation (diff)
downloadyuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.gz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.bz2
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.lz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.xz
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.tar.zst
yuzu-d1e40dd24427582b0329e6470c21a4e774afb400.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applets/general_backend.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/core/hle/service/am/applets/general_backend.cpp b/src/core/hle/service/am/applets/general_backend.cpp
index 4d1df5cbe..71016cce7 100644
--- a/src/core/hle/service/am/applets/general_backend.cpp
+++ b/src/core/hle/service/am/applets/general_backend.cpp
@@ -37,8 +37,9 @@ static void LogCurrentStorage(AppletDataBroker& broker, std::string_view prefix)
}
}
-Auth::Auth(Core::System& system_, Core::Frontend::ParentalControlsApplet& frontend_)
- : Applet{system_.Kernel()}, frontend{frontend_}, system{system_} {}
+Auth::Auth(Core::System& system_, LibraryAppletMode applet_mode_,
+ Core::Frontend::ParentalControlsApplet& frontend_)
+ : Applet{system_.Kernel()}, applet_mode{applet_mode_}, frontend{frontend_}, system{system_} {}
Auth::~Auth() = default;
@@ -152,8 +153,9 @@ void Auth::AuthFinished(bool is_successful) {
broker.SignalStateChanged();
}
-PhotoViewer::PhotoViewer(Core::System& system_, const Core::Frontend::PhotoViewerApplet& frontend_)
- : Applet{system_.Kernel()}, frontend{frontend_}, system{system_} {}
+PhotoViewer::PhotoViewer(Core::System& system_, LibraryAppletMode applet_mode_,
+ const Core::Frontend::PhotoViewerApplet& frontend_)
+ : Applet{system_.Kernel()}, applet_mode{applet_mode_}, frontend{frontend_}, system{system_} {}
PhotoViewer::~PhotoViewer() = default;
@@ -202,8 +204,8 @@ void PhotoViewer::ViewFinished() {
broker.SignalStateChanged();
}
-StubApplet::StubApplet(Core::System& system_, AppletId id_)
- : Applet{system_.Kernel()}, id{id_}, system{system_} {}
+StubApplet::StubApplet(Core::System& system_, AppletId id_, LibraryAppletMode applet_mode_)
+ : Applet{system_.Kernel()}, id{id_}, applet_mode{applet_mode_}, system{system_} {}
StubApplet::~StubApplet() = default;