DIRECTOR: Fxi dissolve transition

This commit is contained in:
Eugene Sandulenko committed 2020-03-28 02:07:04 +01:00
1 parent 02e16487e2
commit 77bf1eb73f
1 file changed
+1 -8
+1 -8
View File
@@ -310,7 +310,7 @@ static void dissolveTrans(TransParams &t, Score *score, Common::Rect &clipRect)
// Calculate steps
uint32 pixPerStepInit = 1;
t.steps = (1 << (hBits * vBits)) - 1;
t.steps = (1 << (hBits + vBits)) - 1;
while (t.steps > 64) {
pixPerStepInit <<= 1;
@@ -333,13 +333,6 @@ static void dissolveTrans(TransParams &t, Score *score, Common::Rect &clipRect)
rnd = (rnd & 1) ? (rnd >> 1) ^ seed : rnd >> 1;
if (pixPerStep > 0) {
if (pixPerStep % 10000 == 0) {
g_system->delayMillis(10);
if (processQuitEvent(true))
break;
g_system->updateScreen();
}
if (--pixPerStep == 0) {
break;
}