mirror of https://github.com/snes9xgit/snes9x.git
Inline ticks. This should fix speed issues.
This commit is contained in:
parent
63b0a6d45e
commit
2b5a54b401
|
@ -85,15 +85,15 @@ public:
|
||||||
uint8 stage2_ticks;
|
uint8 stage2_ticks;
|
||||||
uint8 stage3_ticks;
|
uint8 stage3_ticks;
|
||||||
|
|
||||||
void tick();
|
inline void tick();
|
||||||
void tick(unsigned clocks);
|
inline void tick(unsigned clocks);
|
||||||
};
|
};
|
||||||
|
|
||||||
Timer<128> timer0;
|
Timer<128> timer0;
|
||||||
Timer<128> timer1;
|
Timer<128> timer1;
|
||||||
Timer< 16> timer2;
|
Timer< 16> timer2;
|
||||||
|
|
||||||
alwaysinline void tick();
|
inline void tick();
|
||||||
alwaysinline void op_io();
|
alwaysinline void op_io();
|
||||||
debugvirtual alwaysinline uint8 op_read(uint16 addr);
|
debugvirtual alwaysinline uint8 op_read(uint16 addr);
|
||||||
debugvirtual alwaysinline void op_write(uint16 addr, uint8 data);
|
debugvirtual alwaysinline void op_write(uint16 addr, uint8 data);
|
||||||
|
|
Loading…
Reference in New Issue