summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-10 05:30:28 +0100
committerbunnei <bunneidev@gmail.com>2018-02-10 05:33:50 +0100
commit8e7da732143b5e4192a4475bd6a4c5d473cf1dff (patch)
tree6eab1f6c8f726fca18468ad883a2ca3c010898d0
parentapm: Refactor service impl. to support multiple ports. (diff)
downloadyuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.gz
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.bz2
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.lz
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.xz
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.zst
yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.zip
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp8
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index aa5a3d631..34d4fd035 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.h
index 15be8edc1..56afc4b90 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);