aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tony/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/tony/game.cpp b/engines/tony/game.cpp
index 5b9502468a..f1e8f0e614 100644
--- a/engines/tony/game.cpp
+++ b/engines/tony/game.cpp
@@ -1601,6 +1601,9 @@ void RMPointer::updateCursor() {
// If in black & white mode, convert the cursor
if (GLOBALS._bCfgAnni30) {
+ if (!RMGfxTargetBuffer::_precalcTable) {
+ RMGfxTargetBuffer::createBWPrecalcTable();
+ }
uint16 *src = (uint16 *)cursorData;
for (int i = 0; i < 64; i++) {
uint16 *lineP = src;