mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Fix regression introduced in r40438. Saves were badly broken.
svn-id: r40731
This commit is contained in:
parent
e358b13ef9
commit
743650506b
@ -510,7 +510,7 @@ int AgiEngine::loadGame(const char *fileName, bool checkId) {
|
||||
const char *AgiEngine::getSavegameFilename(int num) {
|
||||
static Common::String saveLoadSlot;
|
||||
char extension[5];
|
||||
snprintf(extension, sizeof(extension), ".%3d", num);
|
||||
snprintf(extension, sizeof(extension), ".%.3d", num);
|
||||
|
||||
saveLoadSlot = _targetName + extension;
|
||||
return saveLoadSlot.c_str();
|
||||
|
Loading…
Reference in New Issue
Block a user