From bbe686c507dc9d1b0ae9fbc09e72717765c7136c Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 26 Mar 2012 01:07:10 +0100 Subject: AGI: Fix compilation on NDS, broken due to predictive text changes. --- engines/agi/agi.cpp | 4 +++- engines/agi/agi.h | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/agi') diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 8218d82a05..137d6073d1 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -411,7 +411,9 @@ int AgiEngine::agiInit() { #ifdef __DS__ // Normally, the engine loads the predictive text dictionary when the predictive dialog // is shown. On the DS version, the word completion feature needs the dictionary too. - loadDict(); + + // FIXME - loadDict() no long exists in AGI as this has been moved to within the + // GUI Predictive Dialog, but DS Word Completion is probably broken due to this... #endif _egoHoldKey = false; diff --git a/engines/agi/agi.h b/engines/agi/agi.h index 1e2b617040..cebee421ef 100644 --- a/engines/agi/agi.h +++ b/engines/agi/agi.h @@ -1085,7 +1085,6 @@ private: void printText2(int l, const char *msg, int foff, int xoff, int yoff, int len, int fg, int bg, bool checkerboard = false); void blitTextbox(const char *p, int y, int x, int len); void eraseTextbox(); - void loadDict(); bool matchWord(); public: -- cgit v1.2.3