mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
WAGE: Simplify savename generation code
This commit is contained in:
parent
d2303ac6dd
commit
eef56e167e
@ -216,9 +216,7 @@ SaveStateList WageMetaEngine::listSaves(const char *target) const {
|
||||
int WageMetaEngine::getMaximumSaveSlot() const { return 999; }
|
||||
|
||||
void WageMetaEngine::removeSaveState(const char *target, int slot) const {
|
||||
char fileName[MAXPATHLEN];
|
||||
sprintf(fileName, "%s.%03d", target, slot);
|
||||
g_system->getSavefileManager()->removeSavefile(fileName);
|
||||
g_system->getSavefileManager()->removeSavefile(Common::String::format("%s.%03d", target, slot));
|
||||
}
|
||||
|
||||
#if PLUGIN_ENABLED_DYNAMIC(WAGE)
|
||||
|
Loading…
Reference in New Issue
Block a user