mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 09:15:45 +00:00
FS: Implement MountSdCard.
This commit is contained in:
parent
a079723254
commit
b15d0a65c4
1 changed files with 6 additions and 2 deletions
|
@ -274,10 +274,14 @@ void FSP_SRV::Initalize(Kernel::HLERequestContext& ctx) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void FSP_SRV::MountSdCard(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.Push(RESULT_SUCCESS);
|
||||||
|
rb.PushIpcInterface<IFileSystem>(std::move(filesystem));
|
||||||
}
|
}
|
||||||
|
|
||||||
void FSP_SRV::CreateSaveData(Kernel::HLERequestContext& ctx) {
|
void FSP_SRV::CreateSaveData(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue