chemboy
chemboy copied to clipboard
Jump instruction timing is incorrect
Blarggs CPU test for the Interrupts says the Timer isn't working properly.
I have a suspicion this is due to the way branching is handled in the CPU at the moment. Currently, all branches return the same flat number of cycles whether the branch happened or not. Really, they should return 12 cycles if the branch is not taken, and 16 if it is.