1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-28 09:54:49 +00:00

Fix infinite inner/outer loop.

This commit is contained in:
Thomas Harte 2022-05-11 10:26:12 -04:00
parent 69ba14e34e
commit 96af3d5ec5

View File

@ -229,7 +229,7 @@ void Executor<model, BusHandler>::signal_bus_error(FunctionCode code, uint32_t a
template <Model model, typename BusHandler>
void Executor<model, BusHandler>::run_for_instructions(int count) {
while(count) {
while(count > 0) {
try {
run(count);
} catch (uint64_t exception) {