test
This commit is contained in:
parent
99eeb532c3
commit
d964c21903
1 changed files with 6 additions and 0 deletions
|
|
@ -199,6 +199,8 @@ function SAEO_M68K() {
|
||||||
setTimeout(function() { SAER.m68k.m68k_cycle(0, 0); }, 0);
|
setTimeout(function() { SAER.m68k.m68k_cycle(0, 0); }, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var counter = 0;
|
||||||
|
|
||||||
this.m68k_cycle = function(hardboot, startup) {
|
this.m68k_cycle = function(hardboot, startup) {
|
||||||
try {
|
try {
|
||||||
if (SAEV_command > 0) {
|
if (SAEV_command > 0) {
|
||||||
|
|
@ -268,6 +270,8 @@ function SAEO_M68K() {
|
||||||
//if (SAEV_config.cpu.speed >= 0)
|
//if (SAEV_config.cpu.speed >= 0)
|
||||||
prevtime = SAEF_now();
|
prevtime = SAEF_now();
|
||||||
|
|
||||||
|
console.log("loop", counter++);
|
||||||
|
|
||||||
setTimeout(function() { SAER.m68k.m68k_cycle(hardboot, startup); }, 0);
|
setTimeout(function() { SAER.m68k.m68k_cycle(hardboot, startup); }, 0);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
this.m68k_gone();
|
this.m68k_gone();
|
||||||
|
|
@ -284,6 +288,8 @@ function SAEO_M68K() {
|
||||||
var hardboot = 1;
|
var hardboot = 1;
|
||||||
var startup = 1;
|
var startup = 1;
|
||||||
|
|
||||||
|
counter = 0;
|
||||||
|
|
||||||
//SAEF_info("m68k.m68k_go()");
|
//SAEF_info("m68k.m68k_go()");
|
||||||
SAER.events.reset_frame_rate_hack();
|
SAER.events.reset_frame_rate_hack();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue