mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
The name isn't stored in saved games for PP
svn-id: r24088
This commit is contained in:
parent
756ede94aa
commit
1ee0c4f1ce
@ -2550,10 +2550,10 @@ void AGOSEngine::o4_saveUserGame() {
|
||||
_clockStopped = 0;
|
||||
|
||||
if (getGameId() == GID_DIMP) {
|
||||
saveGame(1, (const char *)"dimp");
|
||||
saveGame(1, NULL);
|
||||
} else if (!getBitFlag(110)) {
|
||||
// Swampy adventures
|
||||
saveGame(1, (const char *)"swampy");
|
||||
saveGame(1, NULL);
|
||||
}
|
||||
|
||||
//saveHiScores()
|
||||
|
@ -596,10 +596,10 @@ bool AGOSEngine::saveGame(uint slot, const char *caption) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getGameType() == GType_FF || getGameType() == GType_PP) {
|
||||
if (getGameType() == GType_FF) {
|
||||
f->write(caption, 100);
|
||||
curTime = time(NULL);
|
||||
} else {
|
||||
} else if (getGameType() != GType_PP) {
|
||||
f->write(caption, 18);
|
||||
}
|
||||
|
||||
@ -719,9 +719,9 @@ bool AGOSEngine::loadGame(uint slot) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (getGameType() == GType_FF || getGameType() == GType_PP) {
|
||||
if (getGameType() == GType_FF) {
|
||||
f->read(ident, 100);
|
||||
} else {
|
||||
} else if (getGameType() != GType_PP) {
|
||||
f->read(ident, 18);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user