aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz')
-rw-r--r--engines/glk/frotz/processor.cpp1
-rw-r--r--engines/glk/frotz/windows.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/glk/frotz/processor.cpp b/engines/glk/frotz/processor.cpp
index eebcc606d2..8e719e2bf5 100644
--- a/engines/glk/frotz/processor.cpp
+++ b/engines/glk/frotz/processor.cpp
@@ -265,6 +265,7 @@ void Processor::interpret() {
// 0OP opcodes
(*this.*op0_opcodes[opcode - 0xb0])();
+
} else {
// VAR opcodes
zbyte specifier1;
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp
index 4f59666705..cbc0682de7 100644
--- a/engines/glk/frotz/windows.cpp
+++ b/engines/glk/frotz/windows.cpp
@@ -130,6 +130,8 @@ void Window::setProperty(WindowProperty propType, zword value) {
case TRUE_FG_COLOR:
case TRUE_BG_COLOR:
_properties[propType] = value;
+ if (_win && _win->_stream)
+ _win->_stream->setZColors(_properties[TRUE_FG_COLOR], _properties[TRUE_BG_COLOR]);
break;
default: