diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-09 07:01:35 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-09 07:08:35 +0100 |
commit | 823d58ac9ba8527e64cb2d4c755156dbd17c5cd0 (patch) | |
tree | e2f2c78de6b1795f2bbd43ba51b45fdef407824d /src/core/hle/service | |
parent | Merge pull request #2287 from lioncash/svc (diff) | |
download | yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar.gz yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar.bz2 yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar.lz yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar.xz yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.tar.zst yuzu-823d58ac9ba8527e64cb2d4c755156dbd17c5cd0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 6 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_i.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_i.h | 4 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_s.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_s.h | 4 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_u.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/cfg/cfg_u.h | 4 |
7 files changed, 12 insertions, 12 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index d554c3f54..8f1ec47cc 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -528,9 +528,9 @@ ResultCode LoadConfigNANDSaveFile() { } void Init() { - AddService(new CFG_I_Interface); - AddService(new CFG_S_Interface); - AddService(new CFG_U_Interface); + AddService(new CFG_I); + AddService(new CFG_S); + AddService(new CFG_U); LoadConfigNANDSaveFile(); } diff --git a/src/core/hle/service/cfg/cfg_i.cpp b/src/core/hle/service/cfg/cfg_i.cpp index 46312da4b..e8db0fc42 100644 --- a/src/core/hle/service/cfg/cfg_i.cpp +++ b/src/core/hle/service/cfg/cfg_i.cpp @@ -56,7 +56,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x08180042, nullptr, "SecureInfoGetSerialNo"}, }; -CFG_I_Interface::CFG_I_Interface() { +CFG_I::CFG_I() { Register(FunctionTable); } diff --git a/src/core/hle/service/cfg/cfg_i.h b/src/core/hle/service/cfg/cfg_i.h index d0a2cce39..8cfd47633 100644 --- a/src/core/hle/service/cfg/cfg_i.h +++ b/src/core/hle/service/cfg/cfg_i.h @@ -9,9 +9,9 @@ namespace Service { namespace CFG { -class CFG_I_Interface : public Service::Interface { +class CFG_I final : public Interface { public: - CFG_I_Interface(); + CFG_I(); std::string GetPortName() const override { return "cfg:i"; diff --git a/src/core/hle/service/cfg/cfg_s.cpp b/src/core/hle/service/cfg/cfg_s.cpp index 564a9bb08..9386fe33d 100644 --- a/src/core/hle/service/cfg/cfg_s.cpp +++ b/src/core/hle/service/cfg/cfg_s.cpp @@ -33,7 +33,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x04090000, nullptr, "UpdateConfigBlk00040003"}, }; -CFG_S_Interface::CFG_S_Interface() { +CFG_S::CFG_S() { Register(FunctionTable); } diff --git a/src/core/hle/service/cfg/cfg_s.h b/src/core/hle/service/cfg/cfg_s.h index 5568d6485..99fea46ee 100644 --- a/src/core/hle/service/cfg/cfg_s.h +++ b/src/core/hle/service/cfg/cfg_s.h @@ -9,9 +9,9 @@ namespace Service { namespace CFG { -class CFG_S_Interface : public Service::Interface { +class CFG_S final : public Interface { public: - CFG_S_Interface(); + CFG_S(); std::string GetPortName() const override { return "cfg:s"; diff --git a/src/core/hle/service/cfg/cfg_u.cpp b/src/core/hle/service/cfg/cfg_u.cpp index 4c82846c0..7b66fee22 100644 --- a/src/core/hle/service/cfg/cfg_u.cpp +++ b/src/core/hle/service/cfg/cfg_u.cpp @@ -23,7 +23,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x000B0000, nullptr, "IsFangateSupported"}, }; -CFG_U_Interface::CFG_U_Interface() { +CFG_U::CFG_U() { Register(FunctionTable); } diff --git a/src/core/hle/service/cfg/cfg_u.h b/src/core/hle/service/cfg/cfg_u.h index 5303d8ac6..fc7844714 100644 --- a/src/core/hle/service/cfg/cfg_u.h +++ b/src/core/hle/service/cfg/cfg_u.h @@ -9,9 +9,9 @@ namespace Service { namespace CFG { -class CFG_U_Interface : public Service::Interface { +class CFG_U final : public Interface { public: - CFG_U_Interface(); + CFG_U(); std::string GetPortName() const override { return "cfg:u"; |