COMMON: Introduce SaveFileManager::exists
Checks if a savefile with given name exists. Implement on all backends.
This commit is contained in:
parent
fb8f233ed7
commit
a0c818bde6
6 changed files with 36 additions and 0 deletions
|
@ -336,6 +336,10 @@ public:
|
|||
}
|
||||
|
||||
Common::StringArray listSavefiles(const Common::String &pattern) override;
|
||||
|
||||
bool exists(const Common::String &filename) override {
|
||||
return InVMSave().readSaveGame(filename.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
void OutVMSave::finalize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue