diff options
| author | Subv <subv2112@gmail.com> | 2015-08-28 22:01:03 -0500 | 
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2015-08-28 22:01:03 -0500 | 
| commit | ce6a65cec9fed77d7e8be14a0f393f03d1450b64 (patch) | |
| tree | a25e69323824c9dc8383f2986e4c5fa3549ad1f7 /src | |
| parent | ef7eb8bc4c2b761a5dc6623156694be057e7a416 (diff) | |
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/disk_archive.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/disk_archive.cpp b/src/core/file_sys/disk_archive.cpp index 1096fd34d..e9ecd2b1c 100644 --- a/src/core/file_sys/disk_archive.cpp +++ b/src/core/file_sys/disk_archive.cpp @@ -102,7 +102,7 @@ bool DiskFile::Open() {      mode_string += "b";      file = Common::make_unique<FileUtil::IOFile>(path, mode_string.c_str()); -    return true; +    return file->IsOpen();  }  size_t DiskFile::Read(const u64 offset, const size_t length, u8* buffer) const {  | 
