mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-03 00:29:48 +00:00
Revert "Quick fix for creqv"
This reverts commit 8efc61e1b9f7b5f4904591766e3e591f4e61bdc9.
This commit is contained in:
parent
9c4e6c8a86
commit
c12bab9e27
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user