[Scummvm-tracker] [ScummVM] #10737: AGI: Fan Game DG: The AGIMouse Adventure freeze
digitall
trac at scummvm.org
Thu Oct 11 07:40:01 CEST 2018
#10737: AGI: Fan Game DG: The AGIMouse Adventure freeze
--------------------------+-------------------------
Reporter: raziel- | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: AGI
Resolution: | Keywords:
Game: AGI Fanmade |
--------------------------+-------------------------
Comment (by digitall):
Right... Have worked out a patch which fixes the lockup and fixes the GMM
and exiting as well. Not sure if it is the "right" answer though, so would
be good if @m-kiewitz could review:
{{{
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index 2b3bba89db..33d34dd831 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -883,6 +883,8 @@ int PictureMgr::draw_FillCheck(int16 x, int16 y) {
byte screenColor;
byte screenPriority;
+ ((AgiEngine *)_vm)->processScummVMEvents();
+
if (x < 0 || x >= _width || y < 0 || y >= _height)
return false;
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/10737#comment:7>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list