aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/gfxengine.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-03 22:49:30 +1000
committerPaul Gilbert2012-05-03 22:49:30 +1000
commita2982a0b20027f658c9b47266a8ddbec74a15878 (patch)
treec324455bc893fbc48ffb6b13fa4b153e30b93a7d /engines/tony/gfxengine.cpp
parentba2711b5e39e495c4cfb1187710605bb9fbf10b1 (diff)
downloadscummvm-rg350-a2982a0b20027f658c9b47266a8ddbec74a15878.tar.gz
scummvm-rg350-a2982a0b20027f658c9b47266a8ddbec74a15878.tar.bz2
scummvm-rg350-a2982a0b20027f658c9b47266a8ddbec74a15878.zip
TONY: Engine is now compiling and linking again
Diffstat (limited to 'engines/tony/gfxengine.cpp')
-rw-r--r--engines/tony/gfxengine.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/tony/gfxengine.cpp b/engines/tony/gfxengine.cpp
index b8accda7c6..d4ea8ee821 100644
--- a/engines/tony/gfxengine.cpp
+++ b/engines/tony/gfxengine.cpp
@@ -58,15 +58,25 @@ extern bool bIdleExited;
extern bool bPatIrqFreeze;
extern bool bSkipSfxNoLoop;
-extern void ExitAllIdles(int nCurLoc);
/****************************************************************************\
* Metodi di RMGfxEngine
\****************************************************************************/
+bool bIdleExited;
+
+void ExitAllIdles(int nCurLoc) {
+ // Chiude le idle
+ bSkipSfxNoLoop = true;
+ mpalEndIdlePoll(nCurLoc);
+ bIdleExited = true;
+ bSkipSfxNoLoop = false;
+ ExitThread(0);
+}
+
RMGfxEngine::RMGfxEngine() {
// Crea il big buffer dove verranno disegnati i frame
- m_bigBuf.Create(RM_BBX,RM_BBY,16);
+ m_bigBuf.Create(RM_BBX, RM_BBY, 16);
m_bigBuf.OffsetY(RM_SKIPY);
}