diff options
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/save_rest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/save_rest.cpp b/sword2/save_rest.cpp index c8e27ee53c..366d519f46 100644 --- a/sword2/save_rest.cpp +++ b/sword2/save_rest.cpp @@ -183,7 +183,7 @@ uint32 Sword2Engine::saveData(uint16 slotNo, byte *buffer, uint32 bufferSize) { sprintf(saveFileName, "%s.%.3d", _targetName.c_str(), slotNo); - OutSaveFile *out; + Common::OutSaveFile *out; if (!(out = _saveFileMan->openForSaving(saveFileName))) { return SR_ERR_FILEOPEN; @@ -261,7 +261,7 @@ uint32 Sword2Engine::restoreData(uint16 slotNo, byte *buffer, uint32 bufferSize) sprintf(saveFileName, "%s.%.3d", _targetName.c_str(), slotNo); - InSaveFile *in; + Common::InSaveFile *in; if (!(in = _saveFileMan->openForLoading(saveFileName))) { // error: couldn't open file @@ -405,7 +405,7 @@ uint32 Sword2Engine::getSaveDescription(uint16 slotNo, byte *description) { sprintf(saveFileName, "%s.%.3d", _targetName.c_str(), slotNo); - InSaveFile *in; + Common::InSaveFile *in; if (!(in = _saveFileMan->openForLoading(saveFileName))) { return SR_ERR_FILEOPEN; @@ -432,7 +432,7 @@ bool Sword2Engine::saveExists(uint16 slotNo) { sprintf(saveFileName, "%s.%.3d", _targetName.c_str(), slotNo); - InSaveFile *in; + Common::InSaveFile *in; if (!(in = _saveFileMan->openForLoading(saveFileName))) { return false; |