mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Fix - at least partially - the list of savegames for the launcher's load dialog.
But I suspect there are still bugs lurking in that code. I really dislike how Broken Sword 1 handles savegames... svn-id: r34829
This commit is contained in:
parent
871375d4b5
commit
07220529dc
@ -211,8 +211,13 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
|
||||
uint8 stop;
|
||||
char saveDesc[32];
|
||||
do {
|
||||
// Obtain the last digit of the filename, since they correspond to the save slot
|
||||
int slotNum = atoi(file->c_str() + file->size() - 1);
|
||||
if (file->compareToIgnoreCase("SAVEGAME.INF") == 0) {
|
||||
file++;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Obtain the last 3 digits of the filename, since they correspond to the save slot
|
||||
int slotNum = atoi(file->c_str() + file->size() - 3);
|
||||
|
||||
uint pos = 0;
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user