mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-09 08:30:39 +00:00
mfsrin fixed
This commit is contained in:
parent
0b0c545ad9
commit
3010708f2a
@ -1278,7 +1278,7 @@ void ppc_mfsrin(){
|
|||||||
supervisor_inst_num++;
|
supervisor_inst_num++;
|
||||||
#endif
|
#endif
|
||||||
if ((ppc_state.ppc_msr & 0x4000) == 0){
|
if ((ppc_state.ppc_msr & 0x4000) == 0){
|
||||||
ppc_grab_regssb();
|
ppc_grab_regsdb();
|
||||||
grab_sr = ppc_result_b >> 28;
|
grab_sr = ppc_result_b >> 28;
|
||||||
ppc_state.ppc_gpr[reg_d] = ppc_state.ppc_sr[grab_sr];
|
ppc_state.ppc_gpr[reg_d] = ppc_state.ppc_sr[grab_sr];
|
||||||
}
|
}
|
||||||
@ -2487,4 +2487,4 @@ void ppc_tlbsync() {
|
|||||||
supervisor_inst_num++;
|
supervisor_inst_num++;
|
||||||
#endif
|
#endif
|
||||||
printf("Placeholder for tlbsync \n");
|
printf("Placeholder for tlbsync \n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user