mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-12-23 02:29:59 +00:00
Correct a Z80 compare mistake: the result of the implied subtraction shouldn't be applied to the flags register!
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
900ac02869
commit
c7feb58815
@ -1673,7 +1673,7 @@ namespace EightBit
|
||||
|
||||
private void Compare(byte value)
|
||||
{
|
||||
this.F() = this.Subtract(this.A(), value);
|
||||
this.Subtract(this.A(), value);
|
||||
this.F() = AdjustXY(this.F(), value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user