mfsrin fixed

This commit is contained in:
dingusdev 2020-01-16 19:25:41 -07:00 committed by GitHub
parent 0b0c545ad9
commit 3010708f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1278,7 +1278,7 @@ void ppc_mfsrin(){
supervisor_inst_num++;
#endif
if ((ppc_state.ppc_msr & 0x4000) == 0){
ppc_grab_regssb();
ppc_grab_regsdb();
grab_sr = ppc_result_b >> 28;
ppc_state.ppc_gpr[reg_d] = ppc_state.ppc_sr[grab_sr];
}
@ -2487,4 +2487,4 @@ void ppc_tlbsync() {
supervisor_inst_num++;
#endif
printf("Placeholder for tlbsync \n");
}
}