rs->replaydone
This commit is contained in:
@@ -698,6 +698,8 @@ void *gamesiterate(struct games_state *rs)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if ( rs->replaydone != 0 )
|
||||||
|
break;
|
||||||
if ( rs->sleeptime != 0 )
|
if ( rs->sleeptime != 0 )
|
||||||
{
|
{
|
||||||
sleep_milli(1);
|
sleep_milli(1);
|
||||||
@@ -707,7 +709,7 @@ void *gamesiterate(struct games_state *rs)
|
|||||||
if ( skipcount == 0 )
|
if ( skipcount == 0 )
|
||||||
{
|
{
|
||||||
c = games_readevent(rs);
|
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 )
|
if ( (c & 0x4000) == 0x4000 )
|
||||||
{
|
{
|
||||||
skipcount = (c & 0x3fff);
|
skipcount = (c & 0x3fff);
|
||||||
|
|||||||
Reference in New Issue
Block a user