Small typo fixes

This commit is contained in:
dingusdev
2021-01-23 15:10:08 -07:00
parent 42184213e9
commit 2539faef7e
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ void dppc_interpreter::ppc_addme() {
uint32_t xer_ca = !!(ppc_state.spr[SPR::XER] & 0x20000000);
ppc_result_d = ppc_result_a + xer_ca - 1;
if (((xer_ca - 1) < 0xFFFFFFFFUL) | (ppc_result_d < ppc_result_a)) {
if (((xer_ca - 1) < 0xFFFFFFFFUL) || (ppc_result_d < ppc_result_a)) {
ppc_state.spr[SPR::XER] |= 0x20000000UL;
} else {
ppc_state.spr[SPR::XER] &= 0xDFFFFFFFUL;