mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Don't try to close invalid files.
This commit is contained in:
parent
8222f1ef09
commit
0d8dc48200
@ -215,7 +215,9 @@ LocalFileLoader::LocalFileLoader(const std::string &filename)
|
||||
}
|
||||
|
||||
LocalFileLoader::~LocalFileLoader() {
|
||||
fclose(f_);
|
||||
if (!f_) {
|
||||
fclose(f_);
|
||||
}
|
||||
}
|
||||
|
||||
bool LocalFileLoader::Exists() {
|
||||
|
Loading…
Reference in New Issue
Block a user