aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emu.c2
-rw-r--r--gui.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/emu.c b/emu.c
index 71d9488..4760f3c 100644
--- a/emu.c
+++ b/emu.c
@@ -528,7 +528,5 @@ step(struct context *c)
}
}
- usleep(10 * cycle); /* 100kHz */
-
return cycle;
}
diff --git a/gui.c b/gui.c
index 9a4dd06..fd333e9 100644
--- a/gui.c
+++ b/gui.c
@@ -193,7 +193,7 @@ guiemu(struct context *c)
loadfont(c->mem, "font.xpm");
while ((cnt = step(c)) != -1) {
- if ((n += cnt) < 100)
+ if ((n += cnt) < 1000)
continue;
gettimeofday(&tv, NULL);