1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-27 00:30:26 +00:00

Fixed LDIR/LDDR bit 3/5 flags. This seems once again to satisfy FUSE.

This commit is contained in:
Thomas Harte 2017-06-04 14:18:04 -04:00
parent 4e014ca748
commit f5c910beb7

View File

@ -1169,7 +1169,8 @@ template <class T> class Processor {
bc_.full--; \
de_.full += dir; \
hl_.full += dir; \
bit53_result_ = a_ + temp8_; \
uint8_t sum = a_ + temp8_; \
bit53_result_ = (sum&0x8) | ((sum & 0x02) << 4); \
subtract_flag_ = 0; \
half_carry_result_ = 0; \
parity_overflow_result_ = bc_.full ? Flag::Parity : 0;