mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-09 07:29:36 +00:00
ppcexec: Adjust icnt_factor.
So that 1000 ms takes ≈ 1 second in Open Firmware on 4 GHz Intel CPU.
This commit is contained in:
parent
0ac54ea1ea
commit
48882f3fec
|
@ -883,8 +883,8 @@ void ppc_cpu_init(MemCtrlBase* mem_ctrl, uint32_t cpu_version, uint64_t tb_freq)
|
||||||
g_realtime = false;
|
g_realtime = false;
|
||||||
g_nanoseconds_base = now_ns();
|
g_nanoseconds_base = now_ns();
|
||||||
g_icycles_base = 0;
|
g_icycles_base = 0;
|
||||||
g_icycles = 0;
|
g_icycles = 0;
|
||||||
icnt_factor = 4;
|
icnt_factor = 6;
|
||||||
tbr_wr_timestamp = 0;
|
tbr_wr_timestamp = 0;
|
||||||
rtc_timestamp = 0;
|
rtc_timestamp = 0;
|
||||||
tbr_wr_value = 0;
|
tbr_wr_value = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user