mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-06 10:25:27 +00:00
Quick fix for creqv
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user