diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-12 11:38:12 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-12 13:55:39 +0100 |
commit | f11b87ebf1cd5770f9128e62931183b0c9331067 (patch) | |
tree | 286bed12845e8843e88d2a317388d115b69d2d95 /src/core/hle/service/filesystem/fsp_srv.cpp | |
parent | perf_stats: Resolve implicit int to double conversion error (diff) | |
download | yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.gz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.bz2 yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.lz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.xz yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.tar.zst yuzu-f11b87ebf1cd5770f9128e62931183b0c9331067.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/fsp_srv.cpp')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index cbd5466c1..92162d3e1 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -785,7 +785,7 @@ void FSP_SRV::OpenFileSystemWithPatch(Kernel::HLERequestContext& ctx) { static_cast<u8>(type), title_id); IPC::ResponseBuilder rb{ctx, 2, 0, 0}; - rb.Push(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); } void FSP_SRV::OpenSdCardFileSystem(Kernel::HLERequestContext& ctx) { @@ -891,7 +891,7 @@ void FSP_SRV::OpenDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx) { // TODO (bunnei): Find the right error code to use here LOG_CRITICAL(Service_FS, "no file system interface available!"); IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); return; } @@ -928,7 +928,7 @@ void FSP_SRV::OpenDataStorageByDataId(Kernel::HLERequestContext& ctx) { "could not open data storage with title_id={:016X}, storage_id={:02X}", title_id, static_cast<u8>(storage_id)); IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(ResultCode(-1)); + rb.Push(RESULT_UNKNOWN); return; } |