[Scummvm-cvs-logs] CVS: scummvm/sword1 control.cpp,1.44,1.44.2.1 credits.cpp,1.5,1.5.2.1 sword1.cpp,1.75,1.75.2.1
Chris Apers
chrilith at users.sourceforge.net
Mon Dec 20 10:35:02 CET 2004
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20318/sword1
Modified Files:
Tag: branch-0-7-0
control.cpp credits.cpp sword1.cpp
Log Message:
Speedup a bit PalmOS port
Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/control.cpp,v
retrieving revision 1.44
retrieving revision 1.44.2.1
diff -u -d -r1.44 -r1.44.2.1
--- control.cpp 10 Dec 2004 15:10:08 -0000 1.44
+++ control.cpp 20 Dec 2004 18:33:54 -0000 1.44.2.1
@@ -1033,7 +1033,9 @@
break;
}
}
+#ifndef __PALM_OS__
_system->delayMillis(10);
+#endif
} while (_system->getMillis() < endTime);
}
@@ -1230,3 +1232,4 @@
};
} // End of namespace Sword1
+
Index: credits.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/credits.cpp,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- credits.cpp 10 Dec 2004 15:10:09 -0000 1.5
+++ credits.cpp 20 Dec 2004 18:33:54 -0000 1.5.2.1
@@ -21,7 +21,7 @@
#include "stdafx.h"
#include "sword1/credits.h"
-#include "screen.h"
+#include "sword1/screen.h"
#include "common/file.h"
#include "sound/mixer.h"
#include "common/util.h"
@@ -281,8 +281,11 @@
break;
}
}
+
+#ifndef __PALM_OS__
if (msecs > 0)
_system->delayMillis(10);
+#endif
} while ((_system->getMillis() < start + msecs) && !SwordEngine::_systemVars.engineQuit);
}
Index: sword1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/sword1.cpp,v
retrieving revision 1.75
retrieving revision 1.75.2.1
diff -u -d -r1.75 -r1.75.2.1
--- sword1.cpp 12 Dec 2004 07:11:11 -0000 1.75
+++ sword1.cpp 20 Dec 2004 18:33:54 -0000 1.75.2.1
@@ -599,8 +599,10 @@
break;
}
}
+#ifndef __PALM_OS__
if (amount > 0)
_system->delayMillis(10);
+#endif
} while (_system->getMillis() < start + amount);
}
More information about the Scummvm-git-logs
mailing list