aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v8.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 6f652ca025..353773e6bb 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -957,7 +957,17 @@ void Scumm_v8::o8_roomOps()
warning("V8 Load game opcode not implemented");
break;
case 0x5F: // SO_ROOM_SATURATION Set saturation of room colors
- warning("o8_roomOps: SO_ROOM_SATURATION(%d, %d, %d, %d, %d)", pop(), pop(), pop(), pop(), pop());
+ e = pop();
+ d = pop();
+ c = pop();
+ b = pop();
+ a = pop();
+ warning("o8_roomOps: SO_ROOM_SATURATION(%d, %d, %d, %d, %d)", a, b, c, d, e);
+ // FIXME - this probably has the same format as for darkenPalette:
+ // thre values for R, G, B and a start/end palette range to modify.
+ // Now, how on earth does on modify the saturation of a single color channel?
+ // Change the hue/saturation of a color, no problem, I know how to do that,
+ // but for only a channel alone, I don't even know what that should mean... :-/
break;
default:
error("o8_roomOps: default case %d", subOp);