Fix #363: Redraw screen whilst debug stepping

This commit is contained in:
tomcw 2016-10-17 22:10:33 +01:00
parent bcd4c7c7fa
commit 7f3cc09217
1 changed files with 2 additions and 3 deletions

View File

@ -8489,10 +8489,9 @@ void DebugContinueStepping ()
if (g_nDebugSteps)
{
if (!((++nStepsTaken) & 0xFFFF))
if (!((++nStepsTaken) & 0xFFFF)) // Arbitrary: redraw screen every 0x10000 steps
{
if (nStepsTaken == 0x10000) // HACK_MAGIC_NUM
VideoRedrawScreen();
VideoRedrawScreen();
}
}
else