aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kgraphics.cpp6
-rw-r--r--engines/sci/engine/savegame.cpp1
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 78f5251171..d3d16824e6 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -654,7 +654,7 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) {
break;
}
case 1: { // Unknown
- warning("kPalVary(1) called with parameter %d", argv[1].toUint16());
+ warning("kPalVary(1) called with parameter %d (argc %d)", argv[1].toUint16(), argc);
break;
}
case 3: { // DeInit
@@ -666,6 +666,10 @@ reg_t kPalVary(EngineState *s, int argc, reg_t *argv) {
}
break;
}
+ case 4: { // Unknown
+ warning("kPalVary(4) called with parameter %d (argc %d)", argv[1].toUint16(), argc);
+ break;
+ }
case 6: { // Pause
bool pauseState;
if (argc == 2) {
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 445bab573c..af3637f43e 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -950,6 +950,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
retval->_gfxCoordAdjuster = s->_gfxCoordAdjuster;
retval->_gfxCursor = s->_gfxCursor;
retval->_gfxMenu = s->_gfxMenu;
+ retval->_gfxPaint = s->_gfxPaint;
retval->_gfxPaint16 = s->_gfxPaint16;
retval->_gfxPalette = s->_gfxPalette;
retval->_gfxPorts = s->_gfxPorts;