Revert "Quick fix for creqv"

This reverts commit 8efc61e1b9.
This commit is contained in:
Maxim Poliakovski 2022-01-10 18:01:48 +01:00
parent 9c4e6c8a86
commit c12bab9e27

View File

@ -1262,7 +1262,7 @@ void dppc_interpreter::ppc_crandc() {
}
void dppc_interpreter::ppc_creqv() {
ppc_grab_regsdab();
uint8_t ir = ~((ppc_state.cr >> (31 - reg_a)) ^ (ppc_state.cr >> (31 - reg_b)));
uint8_t ir = ~((ppc_state.cr & (31 - reg_a)) ^ (ppc_state.cr & (31 - reg_b)));
if (ir & 1) {
ppc_state.cr |= (0x80000000UL >> reg_d);
} else {