mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-02-10 04:30:38 +00:00
Fuse fixes: Correct JR cc from unnecessary extra read of offset.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
accdf19805
commit
84284d62b5
@ -181,9 +181,10 @@ namespace EightBit
|
||||
|
||||
protected bool JumpRelativeConditional(bool condition)
|
||||
{
|
||||
var offset = (sbyte)this.FetchByte();
|
||||
var offsetAddress = this.PC.Word++;
|
||||
if (condition)
|
||||
{
|
||||
var offset = (sbyte)this.BusRead(offsetAddress);
|
||||
this.JumpRelative(offset);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user