diff options
author | bunnei <bunneidev@gmail.com> | 2015-08-30 17:44:39 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-08-30 17:44:39 +0200 |
commit | 5906d8b01cbe3178dfec22311d409ddb910445b8 (patch) | |
tree | d2b5f1ca55497263a753e706747dd67bbd7eb13c /src | |
parent | Merge pull request #1049 from Subv/stencil (diff) | |
parent | Services/FS: Correctly tell the guest app whether a file was correctly opened or not. (diff) | |
download | yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar.gz yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar.bz2 yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar.lz yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar.xz yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.tar.zst yuzu-5906d8b01cbe3178dfec22311d409ddb910445b8.zip |
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 { |