aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui32/gui32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui32/gui32.cpp')
-rw-r--r--engines/sci/gui32/gui32.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/gui32/gui32.cpp b/engines/sci/gui32/gui32.cpp
index 54fb64d148..c47a2ce141 100644
--- a/engines/sci/gui32/gui32.cpp
+++ b/engines/sci/gui32/gui32.cpp
@@ -961,6 +961,15 @@ void SciGui32::graphUpdateBox(Common::Rect rect) {
gfxop_update_box(s->gfx_state, area);
}
+int16 SciGui32::picNotValid(int16 newPicNotValid) {
+ int16 oldPicNotValid = s->pic_not_valid;
+
+ if (newPicNotValid != -1)
+ s->pic_not_valid = newPicNotValid;
+
+ return oldPicNotValid;
+}
+
void SciGui32::paletteSet(int resourceNo, int flags) {
//warning("STUB");
}