From 770cca79d0077d01dfb14365a0491f5c4aa50ce2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 28 Sep 2009 09:56:05 +0000 Subject: Script workaround for partially off-screen text in DW1 GRA svn-id: r44445 --- engines/tinsel/pcode.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engines/tinsel/pcode.cpp b/engines/tinsel/pcode.cpp index 157982ce84..07503ad2af 100644 --- a/engines/tinsel/pcode.cpp +++ b/engines/tinsel/pcode.cpp @@ -132,6 +132,8 @@ const byte fragment8[] = {OP_IMM | OPSIZE16, 910 % 256, 910 / 256, OP_JUMP | OPS const int fragment8_size = 6; const byte fragment9[] = {OP_JUMP | OPSIZE8, 123}; const int fragment9_size = 2; +const byte fragment10[] = {OP_IMM | OPSIZE16, 160 % 256, 160 / 256, OP_JUMP | OPSIZE16, 136 % 256, 136 / 256}; +const int fragment10_size = 6; const WorkaroundEntry workaroundList[] = { // DW1-SCN: Global 206 is whether Rincewind is trying to take the book back to the present. @@ -168,6 +170,9 @@ const WorkaroundEntry workaroundList[] = { // This fix ensures that the global is reset when the Garden scene is loaded (both entering and restoring a game) {TINSEL_V2, true, 2888147476U, 0, fragment3_size, fragment3}, + // DW1-GRA: Corrects text being drawn partially off-screen during the blackboard description of the Librarian + {TINSEL_V1,false, 293831402, 133, fragment10_size, fragment10}, + {TINSEL_V0, false, 0, 0, 0, NULL} }; -- cgit v1.2.3