Skip to content

Commit

Permalink
[#6] Resolve a TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Jun 20, 2021
1 parent 1b7146f commit 498bfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z80.h
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ class i8080_executor : public internals::executor_base<B> {
case flag_op::adc:
case flag_op::sbc: {
fast_u16 res9 = w;
fast_u8 res8 = mask8(res9); // TODO: Can be just a cast?
fast_u8 res8 = mask8(res9);
fast_u8 op12 = b;
fast_u8 hf = (fop == flag_op::adc) ? hfp(op12, res8) :
hfm(op12, res8);
Expand Down

0 comments on commit 498bfda

Please sign in to comment.