aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/save/saveload_inca2.cpp
diff options
context:
space:
mode:
authorOri Avtalion2011-02-26 20:01:02 +0200
committerOri Avtalion2011-02-26 20:25:44 +0200
commit765540a5fd58238c51ea50f96e5a5940dbbf88ef (patch)
tree7739d9455d2d0128c3bca0f76573f65cbbe68c30 /engines/gob/save/saveload_inca2.cpp
parent9bd5e8ff15dc22cf43281365e5835fc028a7caad (diff)
downloadscummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.tar.gz
scummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.tar.bz2
scummvm-rg350-765540a5fd58238c51ea50f96e5a5940dbbf88ef.zip
GOB: Avoid hiding overloaded virtual methods
Diffstat (limited to 'engines/gob/save/saveload_inca2.cpp')
-rw-r--r--engines/gob/save/saveload_inca2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/save/saveload_inca2.cpp b/engines/gob/save/saveload_inca2.cpp
index 68c76c3f2b..5fa1b69fa7 100644
--- a/engines/gob/save/saveload_inca2.cpp
+++ b/engines/gob/save/saveload_inca2.cpp
@@ -260,7 +260,7 @@ int SaveLoad_Inca2::ScreenshotHandler::File::getSlotRemainder(int32 offset) cons
return (offset - 80) % 15168;
}
-void SaveLoad_Inca2::ScreenshotHandler::File::buildIndex(byte *buffer) const {
+void SaveLoad_Inca2::ScreenshotHandler::File::buildScreenshotIndex(byte *buffer) const {
Common::SaveFileManager *saveMan = g_system->getSavefileManager();
Common::InSaveFile *in;
@@ -306,7 +306,7 @@ bool SaveLoad_Inca2::ScreenshotHandler::load(int16 dataVar, int32 size, int32 of
}
// Create/Fake the index
- _file->buildIndex(_index + 40);
+ _file->buildScreenshotIndex(_index + 40);
_vm->_inter->_variables->copyFrom(dataVar, _index + offset, size);