summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2009-12-13 16:25:26 +0000
committerforsyth <forsyth@vitanuova.com>2009-12-13 16:25:26 +0000
commit112f90aed6c636816f40afc88ae63af0966c9e3a (patch)
treeb7e00de9125cb9e265818dd2e115897fdbbeccf7 /emu
parentaf48bc578e098e272ed04681d8fe21e01482e5d5 (diff)
20091213-1625
Diffstat (limited to 'emu')
-rw-r--r--emu/port/dis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/emu/port/dis.c b/emu/port/dis.c
index 7f8db7b2..881bd81f 100644
--- a/emu/port/dis.c
+++ b/emu/port/dis.c
@@ -104,7 +104,8 @@ execatidle(void)
}
rungc(isched.head);
gcidlepass++;
- osyield();
+ if(((ulong)gcidlepass&0xFF) == 0)
+ osyield();
}
up->type = Interp;
delrunq(up->prog);