mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Corrected test: hitting zero is sufficient. No need to cross it.
This commit is contained in:
parent
8d87a61f63
commit
2452a3104f
@ -621,7 +621,7 @@ template <class T> class Processor {
|
||||
_irq_request_history = _irq_line & _inverseInterruptFlag; \
|
||||
number_of_cycles -= static_cast<T *>(this)->perform_bus_operation(nextBusOperation, busAddress, busValue); \
|
||||
nextBusOperation = BusOperation::None; \
|
||||
if(number_of_cycles < 0) break;
|
||||
if(number_of_cycles <= 0) break;
|
||||
|
||||
checkSchedule();
|
||||
number_of_cycles += _cycles_left_to_run;
|
||||
|
Loading…
Reference in New Issue
Block a user