VERY experimental Nintendo Switch 2 emulator
C++
services: Update function tables
Lioncash9bcfc35ba048
diff --git a/src/core/hle/service/cecd/cecd_u.cpp b/src/core/hle/service/cecd/cecd_u.cppindex 0a23bafbc4..6a6dca8e51 100644--- a/src/core/hle/service/cecd/cecd_u.cpp+++ b/src/core/hle/service/cecd/cecd_u.cpp@@ -9,11 +9,12 @@namespace Service {namespace CECD {-// Empty arrays are illegal -- commented out until an entry is added.-//const Interface::FunctionInfo FunctionTable[] = { };+static const Interface::FunctionInfo FunctionTable[] = {+ { 0x00120104, nullptr, "ReadSavedData" },+};CECD_U_Interface::CECD_U_Interface() {- //Register(FunctionTable);+ Register(FunctionTable);}} // namespace CECDdiff --git a/src/core/hle/service/ns_s.cpp b/src/core/hle/service/ns_s.cppindex 99e8e08806..2760a4d5bd 100644--- a/src/core/hle/service/ns_s.cpp+++ b/src/core/hle/service/ns_s.cpp@@ -14,14 +14,19 @@ namespace NS_S {const Interface::FunctionInfo FunctionTable[] = {{0x000100C0, nullptr, "LaunchFIRM"},{0x000200C0, nullptr, "LaunchTitle"},+ {0x00030000, nullptr, "TerminateApplication"},+ {0x00040040, nullptr, "TerminateProcess"},{0x000500C0, nullptr, "LaunchApplicationFIRM"},{0x00060042, nullptr, "SetFIRMParams4A0"},{0x00070042, nullptr, "CardUpdateInitialize"},- {0x000D0140, nullptr, "SetFIRMParams4B0"},+ {0x00080000, nullptr, "CardUpdateShutdown"},+ {0x000D0140, nullptr, "SetTWLBannerHMAC"},{0x000E0000, nullptr, "ShutdownAsync"},{0x00100180, nullptr, "RebootSystem"},+ {0x00110100, nullptr, "TerminateTitle"},+ {0x001200C0, nullptr, "SetApplicationCpuTimeLimit"},{0x00150140, nullptr, "LaunchApplication"},- {0x00160000, nullptr, "HardRebootSystem"},+ {0x00160000, nullptr, "RebootSystemClean"},};////////////////////////////////////////////////////////////////////////////////////////////////////