mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 15:27:46 +00:00
AltairZ80: Better comparison operator to remove warning message
This commit is contained in:
parent
bd2f592918
commit
bb39ce97c7
@ -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…
x
Reference in New Issue
Block a user