mirror of
https://github.com/freewilll/apple2-go.git
synced 2025-08-05 23:25:16 +00:00
Corrected branch cycles timing issue
This fixes the sound timing for the system beep and lemonade stand
This commit is contained in:
@@ -137,7 +137,7 @@ func branch(instructionName string, doBranch bool) {
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
samePage := (State.PC & 0xff00) != (relativeAddress & 0xff00)
|
||||
samePage := (State.PC & 0xff00) == (relativeAddress & 0xff00)
|
||||
if samePage {
|
||||
system.FrameCycles += 1
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user