[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.cpp,1.56,1.57
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Mon Jan 12 08:37:04 CET 2004
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv15059
Modified Files:
d_draw.cpp
Log Message:
Don't hog the CPU when playing cutscenes.
Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_draw.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- d_draw.cpp 12 Jan 2004 11:10:30 -0000 1.56
+++ d_draw.cpp 12 Jan 2004 16:36:01 -0000 1.57
@@ -203,7 +203,7 @@
// frame rate the original movies had, or even if it
// was constant, but this seems to work reasonably.
- while (_vm->_system->get_msecs() < ticks);
+ _vm->sleepUntil(ticks);
ticks += 82;
}
More information about the Scummvm-git-logs
mailing list