AltairZ80: Minor code clean up to avoid compiler warning
This commit is contained in:
parent
4092a7bf6f
commit
8aaf4598d0
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ t_stat sim_instr_8086(void) {
|
|||
PCX += 2;
|
||||
PCX_S = PCX;
|
||||
} else {
|
||||
PCX_S = (reason == STOP_HALT) | (reason == STOP_OPCODE) ? PCX : getFullPC();
|
||||
PCX_S = ((reason == STOP_HALT) || (reason == STOP_OPCODE)) ? PCX : getFullPC();
|
||||
}
|
||||
|
||||
setViewRegisters();
|
||||
|
|
Loading…
Add table
Reference in a new issue