Fixed back N5A22 clock steps, nw

(Timing bug that was lingering for a while, no idea about what it fixes / breaks for SNES but it doesn't seem harmful from a quick random test)
This commit is contained in:
Angelo Salese 2016-06-07 00:11:32 +02:00
parent 171d04d852
commit 420fc406c4

View File

@ -186,7 +186,7 @@ static inline int MAKE_INT_8(int A) {return (A & 0x80) ? A | ~0xff : A & 0xff;}
#define CLK_W_S 2
#define CLK_W_SIY 5
#define CLK(A) CLOCKS -= (m_cpu_type == CPU_TYPE_G65816 ? A : A*6)
#define CLK(A) CLOCKS -= A
#define CLK_BUS(A) CLOCKS -= A
#define USE_ALL_CLKS() CLOCKS = 0