rs->replaydone

This commit is contained in:
jl777
2019-03-26 09:31:44 -11:00
parent a29ad0f9bb
commit 0d7dbc3929

View File

@@ -698,6 +698,8 @@ void *gamesiterate(struct games_state *rs)
}
else
{
if ( rs->replaydone != 0 )
break;
if ( rs->sleeptime != 0 )
{
sleep_milli(1);
@@ -707,7 +709,7 @@ void *gamesiterate(struct games_state *rs)
if ( skipcount == 0 )
{
c = games_readevent(rs);
fprintf(stderr,"%04x\n",c);
fprintf(stderr,"%04x score.%d level.%d\n",c,tg->score,tg->level);
if ( (c & 0x4000) == 0x4000 )
{
skipcount = (c & 0x3fff);