AltairZ80: Better comparison operator to remove warning message
This commit is contained in:
parent
bd2f592918
commit
bb39ce97c7
1 changed files with 1 additions and 1 deletions
|
@ -2056,7 +2056,7 @@ void setClockFrequency(const uint32 Value) {
|
|||
|
||||
void pollForCPUStop(void) {
|
||||
static uint32 pollCounter = INITIAL_POLL_COUNTER;
|
||||
if (--pollCounter <= 0) {
|
||||
if (--pollCounter == 0) {
|
||||
pollCounter = INITIAL_POLL_COUNTER;
|
||||
sim_poll_kbd(); /* the following sim_process_event will check for stop */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue