mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
TOLTECS: Fix saveGameState signature to match Engine's virtual method.
This commit is contained in:
parent
4ba1f78dc5
commit
c545a8b176
@ -184,9 +184,9 @@ Common::Error ToltecsEngine::loadGameState(int slot) {
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
Common::Error ToltecsEngine::saveGameState(int slot, const char *description) {
|
||||
Common::Error ToltecsEngine::saveGameState(int slot, const Common::String &description) {
|
||||
const char *fileName = getSavegameFilename(slot);
|
||||
savegame(fileName, description);
|
||||
savegame(fileName, description.c_str());
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
|
@ -195,7 +195,7 @@ public:
|
||||
bool canLoadGameStateCurrently() { return _isSaveAllowed; }
|
||||
bool canSaveGameStateCurrently() { return _isSaveAllowed; }
|
||||
Common::Error loadGameState(int slot);
|
||||
Common::Error saveGameState(int slot, const char *description);
|
||||
Common::Error saveGameState(int slot, const Common::String &description);
|
||||
void savegame(const char *filename, const char *description);
|
||||
void loadgame(const char *filename);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user