mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
Don't attempt to close the arj file if it hasn't been opened
svn-id: r32608
This commit is contained in:
parent
ee1dfa3f3d
commit
b050430b41
@ -289,6 +289,9 @@ bool ArjFile::open(const Common::String &filename, AccessMode mode) {
|
||||
}
|
||||
|
||||
void ArjFile::close() {
|
||||
if (!_isOpen)
|
||||
return;
|
||||
|
||||
_isOpen = false;
|
||||
|
||||
if (_fallBack) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user