diff options
| author | 2018-02-09 23:30:28 -0500 | |
|---|---|---|
| committer | 2018-02-09 23:33:50 -0500 | |
| commit | 8e7da732143b5e4192a4475bd6a4c5d473cf1dff (patch) | |
| tree | 6eab1f6c8f726fca18468ad883a2ca3c010898d0 /src | |
| parent | apm: Refactor service impl. to support multiple ports. (diff) | |
| download | yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.gz yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.tar.xz yuzu-8e7da732143b5e4192a4475bd6a4c5d473cf1dff.zip | |
fsp_srv: Stub MountSdCard.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 8 | ||||
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.h | 1 |
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: | |||
| 70 | FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") { | 70 | FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") { |
| 71 | static const FunctionInfo functions[] = { | 71 | static const FunctionInfo functions[] = { |
| 72 | {1, &FSP_SRV::Initalize, "Initalize"}, | 72 | {1, &FSP_SRV::Initalize, "Initalize"}, |
| 73 | {18, &FSP_SRV::MountSdCard, "MountSdCard"}, | ||
| 73 | {200, &FSP_SRV::OpenDataStorageByCurrentProcess, "OpenDataStorageByCurrentProcess"}, | 74 | {200, &FSP_SRV::OpenDataStorageByCurrentProcess, "OpenDataStorageByCurrentProcess"}, |
| 74 | {202, nullptr, "OpenDataStorageByDataId"}, | 75 | {202, nullptr, "OpenDataStorageByDataId"}, |
| 75 | {203, &FSP_SRV::OpenRomStorage, "OpenRomStorage"}, | 76 | {203, &FSP_SRV::OpenRomStorage, "OpenRomStorage"}, |
| @@ -96,6 +97,13 @@ void FSP_SRV::Initalize(Kernel::HLERequestContext& ctx) { | |||
| 96 | rb.Push(RESULT_SUCCESS); | 97 | rb.Push(RESULT_SUCCESS); |
| 97 | } | 98 | } |
| 98 | 99 | ||
| 100 | void FSP_SRV::MountSdCard(Kernel::HLERequestContext& ctx) { | ||
| 101 | LOG_WARNING(Service_FS, "(STUBBED) called"); | ||
| 102 | |||
| 103 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 104 | rb.Push(RESULT_SUCCESS); | ||
| 105 | } | ||
| 106 | |||
| 99 | void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { | 107 | void FSP_SRV::GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx) { |
| 100 | LOG_WARNING(Service_FS, "(STUBBED) called"); | 108 | LOG_WARNING(Service_FS, "(STUBBED) called"); |
| 101 | 109 | ||
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: | |||
| 23 | void TryLoadRomFS(); | 23 | void TryLoadRomFS(); |
| 24 | 24 | ||
| 25 | void Initalize(Kernel::HLERequestContext& ctx); | 25 | void Initalize(Kernel::HLERequestContext& ctx); |
| 26 | void MountSdCard(Kernel::HLERequestContext& ctx); | ||
| 26 | void GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx); | 27 | void GetGlobalAccessLogMode(Kernel::HLERequestContext& ctx); |
| 27 | void OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx); | 28 | void OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx); |
| 28 | void OpenRomStorage(Kernel::HLERequestContext& ctx); | 29 | void OpenRomStorage(Kernel::HLERequestContext& ctx); |