aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/glk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gargoyle/glk.cpp')
-rw-r--r--engines/gargoyle/glk.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/gargoyle/glk.cpp b/engines/gargoyle/glk.cpp
index 6022a86999..dc91d4cca1 100644
--- a/engines/gargoyle/glk.cpp
+++ b/engines/gargoyle/glk.cpp
@@ -1160,11 +1160,15 @@ void Glk::garglk_set_zcolors_stream(strid_t str, glui32 fg, glui32 bg) {
}
void Glk::garglk_set_reversevideo(glui32 reverse) {
- // TODO
+ _streams->getCurrent()->setReverseVideo(reverse != 0);
}
void Glk::garglk_set_reversevideo_stream(strid_t str, glui32 reverse) {
- // TODO
+ if (str) {
+ str->setReverseVideo(reverse != 0);
+ } else {
+ warning("set_reversevideo: Invalid ref");
+ }
}
} // End of namespace Gargoyle