mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-09-25 20:16:38 +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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user