summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-20 03:21:49 +0100
committerSubv <subv2112@gmail.com>2018-03-20 03:21:49 +0100
commit808704c78cd2bb39523e488687eb3743ca443847 (patch)
tree540f8d10d45de658d67ee74fa8bc094e354df73a
parentFS: Added an SDMC archive factory and registered it to the SDMC archive on startup. (diff)
downloadyuzu-808704c78cd2bb39523e488687eb3743ca443847.tar
yuzu-808704c78cd2bb39523e488687eb3743ca443847.tar.gz
yuzu-808704c78cd2bb39523e488687eb3743ca443847.tar.bz2
yuzu-808704c78cd2bb39523e488687eb3743ca443847.tar.lz
yuzu-808704c78cd2bb39523e488687eb3743ca443847.tar.xz
yuzu-808704c78cd2bb39523e488687eb3743ca443847.tar.zst
yuzu-808704c78cd2bb39523e488687eb3743ca443847.zip
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 97b3fa290..720ac9930 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -274,10 +274,14 @@ void FSP_SRV::Initalize(Kernel::HLERequestContext& ctx) {
}
void FSP_SRV::MountSdCard(Kernel::HLERequestContext& ctx) {
- LOG_WARNING(Service_FS, "(STUBBED) called");
+ LOG_DEBUG(Service_FS, "called");
- IPC::ResponseBuilder rb{ctx, 2};
+ FileSys::Path unused;
+ auto filesystem = OpenFileSystem(Type::SDMC, unused).Unwrap();
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(RESULT_SUCCESS);
+ rb.PushIpcInterface<IFileSystem>(std::move(filesystem));
}
void FSP_SRV::CreateSaveData(Kernel::HLERequestContext& ctx) {