Skip to content

Commit

Permalink
sim: reset step after completion
Browse files Browse the repository at this point in the history
  • Loading branch information
agkaminski committed May 8, 2018
1 parent 148907d commit 43c1926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ static void *core_thread(void *arg)

case STATE_NORMAL:
core_normal(&core_global.cpu, &core_global.cycles);
core_global.step = 0;
break;

default:
Expand Down

0 comments on commit 43c1926

Please sign in to comment.