Skip to content

Commit

Permalink
Coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
agaxia committed Apr 8, 2024
1 parent 4389900 commit a055dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/Z80.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ static zuint8 vvv(Z80 *self, zuint8 offset, zuint8 value)
FLAGS = (zuint8)(
(t & SYXF) | /* SF = sign; YF = Y; XF = X */
ZF_ZERO(t) | /* ZF = zero */
((value ^ t) & HF) | /* HF = half-carry/borrow */
((value ^ t) & HF) | /* HF = half-carry/borrow */
((value == 127 + dec) << 2) | /* PF = overflow */
nf | /* NF = 0 (inc), 1 (dec) */
nf | /* NF = 0 (inc), 1 (dec) */
F_C); /* CF unchanged */

return t;
Expand Down

0 comments on commit a055dd4

Please sign in to comment.