diff options
author | Paul Gilbert | 2009-09-28 09:56:05 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-09-28 09:56:05 +0000 |
commit | 770cca79d0077d01dfb14365a0491f5c4aa50ce2 (patch) | |
tree | b6b19cc276c5231faa3ae83ef6581e987878accd | |
parent | fa3e257aa229020fc792e63df974bcc371345eb9 (diff) | |
download | scummvm-rg350-770cca79d0077d01dfb14365a0491f5c4aa50ce2.tar.gz scummvm-rg350-770cca79d0077d01dfb14365a0491f5c4aa50ce2.tar.bz2 scummvm-rg350-770cca79d0077d01dfb14365a0491f5c4aa50ce2.zip |
Script workaround for partially off-screen text in DW1 GRA
svn-id: r44445
-rw-r--r-- | engines/tinsel/pcode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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} }; |