diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-01-18 21:55:15 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-25 22:42:06 +0100 |
commit | c60ab6bbf61021e247c2574a771d3d88a77ed398 (patch) | |
tree | 27e6b6b5d6afaabb7c6d1ba93ad63f140a70a65c /src/core/hle/service/filesystem/fsp/fsp_srv.cpp | |
parent | fs: Replace Mode enum by OpenMode enum (diff) | |
download | yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.gz yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.bz2 yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.lz yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.xz yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.tar.zst yuzu-c60ab6bbf61021e247c2574a771d3d88a77ed398.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fsp_srv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp index c35df5530..2be72b021 100644 --- a/src/core/hle/service/filesystem/fsp/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp/fsp_srv.cpp @@ -430,7 +430,7 @@ void FSP_SRV::OpenSaveDataFileSystem(HLERequestContext& ctx) { save_data_controller->OpenSaveData(&dir, parameters.space_id, parameters.attribute); if (result != ResultSuccess) { IPC::ResponseBuilder rb{ctx, 2, 0, 0}; - rb.Push(FileSys::ERROR_ENTITY_NOT_FOUND); + rb.Push(FileSys::ResultTargetNotFound); return; } @@ -597,7 +597,7 @@ void FSP_SRV::OpenPatchDataStorageByCurrentProcess(HLERequestContext& ctx) { LOG_DEBUG(Service_FS, "called with storage_id={:02X}, title_id={:016X}", storage_id, title_id); IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(FileSys::ERROR_ENTITY_NOT_FOUND); + rb.Push(FileSys::ResultTargetNotFound); } void FSP_SRV::OpenDataStorageWithProgramIndex(HLERequestContext& ctx) { |