mirror of
https://github.com/bradgrantham/apple2e.git
synced 2025-02-11 12:31:21 +00:00
make UI more interactive in fast mode
This commit is contained in:
parent
d212e8f112
commit
ae04f41257
@ -1684,7 +1684,7 @@ int main(int argc, char **argv)
|
||||
chrono::time_point<chrono::system_clock> 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user