summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-08-29 05:01:03 +0200
committerSubv <subv2112@gmail.com>2015-08-29 05:01:03 +0200
commitce6a65cec9fed77d7e8be14a0f393f03d1450b64 (patch)
treea25e69323824c9dc8383f2986e4c5fa3549ad1f7 /src
parentMerge pull request #1038 from LittleWhite-tb/contributing-include (diff)
downloadyuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar.gz
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar.bz2
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar.lz
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar.xz
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.tar.zst
yuzu-ce6a65cec9fed77d7e8be14a0f393f03d1450b64.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/disk_archive.cpp2
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 {