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 | 3334ae7b74f183066810c75662a0090765b876ae (patch) | |
| tree | a25e69323824c9dc8383f2986e4c5fa3549ad1f7 /src/core/file_sys/disk_archive.cpp | |
| parent | 5fb9c48f7ee208334672bac5bb00e8d3b876b0a8 (diff) | |
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
Diffstat (limited to 'src/core/file_sys/disk_archive.cpp')
| -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 1096fd34da..e9ecd2b1cc 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 { |
