mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
This commit is contained in:
parent
ef7eb8bc4c
commit
ce6a65cec9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue