mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-27 00:30:26 +00:00
Fix infinite inner/outer loop.
This commit is contained in:
parent
69ba14e34e
commit
96af3d5ec5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user