mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-04 04:29:28 +00:00
Quick fix for creqv
This commit is contained in:
parent
756d32df07
commit
8efc61e1b9
|
@ -1263,7 +1263,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…
Reference in New Issue
Block a user