mirror of
https://github.com/simh/simh.git
synced 2026-02-26 08:44:38 +00:00
AltairZ80: Better comparison operator to remove warning message
This commit is contained in:
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user