mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
BURIED: const'ness
This commit is contained in:
parent
5aab3da1bf
commit
9c68ab2f43
@ -114,7 +114,7 @@ SaveStateList BuriedMetaEngine::listSaves(const char *target) const {
|
||||
|
||||
void BuriedMetaEngine::removeSaveState(const char *target, int slot) const {
|
||||
// See listSaves() for info on the pattern
|
||||
Common::StringArray fileNames = Buried::BuriedEngine::listSaveFiles();
|
||||
const Common::StringArray &fileNames = Buried::BuriedEngine::listSaveFiles();
|
||||
g_system->getSavefileManager()->removeSavefile(fileNames[slot].c_str());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user