mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-25 23:29:33 +00:00
Fix RTC upper
Fixed a typo that caused rtc@ to always return 0 for the upper 32 bits (represents seconds). The problem could cause the following to hang on Power Mac 7500: cr 2000 0 do get-msecs u. 1 ms loop
This commit is contained in:
parent
467e4df7dc
commit
ce925f5e56
|
@ -883,7 +883,7 @@ void dppc_interpreter::ppc_mfspr() {
|
|||
ppc_state.spr[SPR::RTCL_U] = calc_rtcl_value();
|
||||
break;
|
||||
case SPR::RTCU_U:
|
||||
ppc_state.spr[SPR::RTCL_U] = rtc_hi;
|
||||
ppc_state.spr[SPR::RTCU_U] = rtc_hi;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user