VERY experimental Nintendo Switch 2 emulator
C++
fsp_srv: Stub MountSdCard.
bunneie552a191a470
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cppindex aa5a3d6311..34d4fd035d 100644--- a/src/core/hle/service/filesystem/fsp_srv.cpp+++ b/src/core/hle/service/filesystem/fsp_srv.cpp@@ -70,6 +70,7 @@ private:FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") {static const FunctionInfo functions[] = {{1, &FSP_SRV::Initalize, "Initalize"},+ {18, &FSP_SRV::MountSdCard, "MountSdCard"},{200, &FSP_SRV::OpenDataStorageByCurrentProcess, "OpenDataStorageByCurrentProcess"},{202, nullptr, "OpenDataStorageByDataId"},{203, &FSP_SRV::OpenRomStorage, "OpenRomStorage"},@@ -96,6 +97,13 @@ void FSP_SRV::Initalize(Kernel::HLERequestContext& ctx) {rb.Push(RESULT_SUCCESS);}+void FSP_SRV::MountSdCard(Kernel::HLERequestContext& ctx) {+ LOG_WARNING(Service_FS, "(STUBBED) called");++ IPC::ResponseBuilder rb{ctx, 2};+ rb.Push(RESULT_SUCCESS);+}+void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) {LOG_WARNING(Service_FS, "(STUBBED) called");diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.hindex 15be8edc14..56afc4b90f 100644--- a/src/core/hle/service/filesystem/fsp_srv.h+++ b/src/core/hle/service/filesystem/fsp_srv.h@@ -23,6 +23,7 @@ private:void TryLoadRomFS();void Initalize(Kernel::HLERequestContext& ctx);+ void MountSdCard(Kernel::HLERequestContext& ctx);void GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx);void OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx);void OpenRomStorage(Kernel::HLERequestContext& ctx);