Skip to content

Commit

Permalink
cpu: remove state check in execution loop
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed Dec 21, 2021
1 parent bcb9895 commit c34afd4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cpu/cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ bool CPU::executeInstructions(int count) {
moveLoadDelaySlots();

sys->cycles++;
if (sys->state != System::State::run) return false;
}
return true;
}
Expand Down

0 comments on commit c34afd4

Please sign in to comment.