notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61114cd
)
fix for 68K cycle accounting
author
kub
<derkub@gmail.com>
Fri, 27 Mar 2020 18:27:05 +0000
(19:27 +0100)
committer
kub
<derkub@gmail.com>
Fri, 27 Mar 2020 18:27:05 +0000
(19:27 +0100)
pico/pico_cmn.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/pico_cmn.c
b/pico/pico_cmn.c
index
017c404
..
8863bb3
100644
(file)
--- a/
pico/pico_cmn.c
+++ b/
pico/pico_cmn.c
@@
-35,6
+35,7
@@
static void SekExecM68k(int cyc_do)
#elif defined(EMU_F68K)
Pico.t.m68c_cnt += fm68k_emulate(&PicoCpuFM68k, cyc_do, 0) - cyc_do;
#endif
+ SekCyclesLeft = 0;
}
static void SekSyncM68k(void)
@@
-46,8
+47,6
@@
static void SekSyncM68k(void)
while ((cyc_do = Pico.t.m68c_aim - Pico.t.m68c_cnt) > 0)
SekExecM68k(cyc_do);
- SekCyclesLeft = 0;
-
SekTrace(0);
pevt_log_m68k_o(EVT_RUN_END);
pprof_end(m68k);