Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #847 from lioncash/ncm

bunnei42aa40e14a9c
diff --cc src/common/logging/backend.cpp
index ca30fa6ff6,67a803e23a..38cc85e23f
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@@ -176,8 -176,8 +176,9 @@@ void FileBackend::Write(const Entry& en
SUB(Service, LBL) \
SUB(Service, LDN) \
SUB(Service, LM) \
+ SUB(Service, Mii) \
SUB(Service, MM) \
+ SUB(Service, NCM) \
SUB(Service, NFC) \
SUB(Service, NFP) \
SUB(Service, NIFM) \
diff --cc src/common/logging/log.h
index 2515cb40fc,a3e8057945..db4a80d0ae
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@@ -63,8 -63,8 +63,9 @@@ enum class Class : ClassType
Service_LBL, ///< The LBL (LCD backlight) service
Service_LDN, ///< The LDN (Local domain network) service
Service_LM, ///< The LM (Logger) service
+ Service_Mii, ///< The Mii service
Service_MM, ///< The MM (Multimedia) service
+ Service_NCM, ///< The NCM service
Service_NFC, ///< The NFC (Near-field communication) service
Service_NFP, ///< The NFP service
Service_NIFM, ///< The NIFM (Network interface) service
diff --cc src/core/CMakeLists.txt
index 18faf08f8c,7b60f91639..f1e7e25934
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@@ -178,10 -174,10 +178,12 @@@ add_library(core STATI
hle/service/ldr/ldr.h
hle/service/lm/lm.cpp
hle/service/lm/lm.h
+ hle/service/mii/mii.cpp
+ hle/service/mii/mii.h
hle/service/mm/mm_u.cpp
hle/service/mm/mm_u.h
+ hle/service/ncm/ncm.cpp
+ hle/service/ncm/ncm.h
hle/service/nfc/nfc.cpp
hle/service/nfc/nfc.h
hle/service/nfp/nfp.cpp
diff --cc src/core/hle/service/service.cpp
index 98c912eb3b,de37239802..5180a0c937
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@@ -34,8 -34,8 +34,9 @@@
#include "core/hle/service/ldn/ldn.h"
#include "core/hle/service/ldr/ldr.h"
#include "core/hle/service/lm/lm.h"
+#include "core/hle/service/mii/mii.h"
#include "core/hle/service/mm/mm_u.h"
+ #include "core/hle/service/ncm/ncm.h"
#include "core/hle/service/nfc/nfc.h"
#include "core/hle/service/nfp/nfp.h"
#include "core/hle/service/nifm/nifm.h"
@@@ -212,8 -212,8 +213,9 @@@ void Init(std::shared_ptr<SM::ServiceMa
LDN::InstallInterfaces(*sm);
LDR::InstallInterfaces(*sm);
LM::InstallInterfaces(*sm);
+ Mii::InstallInterfaces(*sm);
MM::InstallInterfaces(*sm);
+ NCM::InstallInterfaces(*sm);
NFC::InstallInterfaces(*sm);
NFP::InstallInterfaces(*sm);
NIFM::InstallInterfaces(*sm);