[Scummvm-cvs-logs] CVS: scummvm/sky screen.cpp,1.48,1.49 screen.h,1.12,1.13
Nicolas Bacca
arisme at users.sourceforge.net
Wed Aug 6 03:07:02 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv19173
Modified Files:
screen.cpp screen.h
Log Message:
Fix #783732 : freeze on Pocket PC
Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- screen.cpp 13 Jul 2003 16:22:16 -0000 1.48
+++ screen.cpp 6 Aug 2003 10:06:19 -0000 1.49
@@ -365,6 +365,15 @@
}
}
+void SkyScreen::waitForSequence(void) {
+ while (_seqInfo.running) {
+ OSystem::Event event;
+
+ _system->delay_msecs(20);
+ while (_system->poll_event(&event));
+ }
+}
+
void SkyScreen::handleTimer(void) {
_gotTick = true;
Index: screen.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- screen.h 12 Jul 2003 04:21:20 -0000 1.12
+++ screen.h 6 Aug 2003 10:06:19 -0000 1.13
@@ -65,7 +65,7 @@
void startSequenceItem(uint16 itemNum);
void stopSequence(void);
bool sequenceRunning(void) { return _seqInfo.running; };
- void waitForSequence(void) { while (_seqInfo.running) _system->delay_msecs(20); };
+ void waitForSequence(void);
uint32 seqFramesLeft(void) { return _seqInfo.framesLeft; };
uint8 *giveCurrent(void) { return _currentScreen; };
void halvePalette(void);
More information about the Scummvm-git-logs
mailing list