From ae04f412571a4f1906ef70f1575f099fcf15f640 Mon Sep 17 00:00:00 2001 From: Brad Grantham Date: Sun, 20 Nov 2016 14:21:01 -0800 Subject: [PATCH] make UI more interactive in fast mode --- apple2e.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple2e.cpp b/apple2e.cpp index 6b8b069..7aeead6 100644 --- a/apple2e.cpp +++ b/apple2e.cpp @@ -1684,7 +1684,7 @@ int main(int argc, char **argv) chrono::time_point then; int inst_per_slice; if(run_fast) - inst_per_slice = 2557500; + inst_per_slice = 320000; else inst_per_slice = 255750 * millis_per_slice / 1000 * 2; for(int i = 0; i < inst_per_slice; i++) { @@ -1724,7 +1724,7 @@ int main(int argc, char **argv) printf("run flat out\n"); run_fast = true; continue; - } else if(strcmp(line, "1mhz") == 0) { + } else if(strcmp(line, "slow") == 0) { printf("run 1mhz\n"); run_fast = false; continue;