ENGINES: Change 2nd param of Engine::saveGameState to Common::String
This commit is contained in:
parent
86240bb0dc
commit
477d6233c3
50 changed files with 71 additions and 74 deletions
|
@ -410,7 +410,7 @@ Common::Error TinselEngine::loadGameState(int slot) {
|
|||
}
|
||||
|
||||
#if 0
|
||||
Common::Error TinselEngine::saveGameState(int slot, const char *desc) {
|
||||
Common::Error TinselEngine::saveGameState(int slot, const Common::String &desc) {
|
||||
Common::String saveName = _vm->getSavegameFilename((int16)(slot + 1));
|
||||
char saveDesc[SG_DESC_LEN];
|
||||
Common::strlcpy(saveDesc, desc, SG_DESC_LEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue