mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-10-02 05:16:26 +00:00
Unify Intel style JR CC code and fix SM83 timing issues.
This commit is contained in:
@@ -173,13 +173,11 @@ namespace EightBit
|
||||
|
||||
protected virtual bool JumpRelativeConditional(bool condition)
|
||||
{
|
||||
this.Intermediate.Assign(this.PC);
|
||||
++this.PC.Word;
|
||||
var offset = this.FetchByte();
|
||||
if (condition)
|
||||
{
|
||||
this.JumpRelative(this.MemoryRead(this.Intermediate));
|
||||
this.JumpRelative(offset);
|
||||
}
|
||||
|
||||
return condition;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user