mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-04-05 06:02:53 +00:00
HLE/FS: Return the proper error codes when opening files.
This commit is contained in:
@@ -20,8 +20,8 @@ std::string IVFCArchive::GetName() const {
|
||||
return "IVFC";
|
||||
}
|
||||
|
||||
std::unique_ptr<FileBackend> IVFCArchive::OpenFile(const Path& path, const Mode mode) const {
|
||||
return Common::make_unique<IVFCFile>(romfs_file, data_offset, data_size);
|
||||
ResultVal<std::unique_ptr<FileBackend>> IVFCArchive::OpenFile(const Path& path, const Mode mode) const {
|
||||
return MakeResult<std::unique_ptr<FileBackend>>(Common::make_unique<IVFCFile>(romfs_file, data_offset, data_size));
|
||||
}
|
||||
|
||||
ResultCode IVFCArchive::DeleteFile(const Path& path) const {
|
||||
|
||||
Reference in New Issue
Block a user