Inline ticks. This should fix speed issues.

This commit is contained in:
Brandon Wright 2011-07-05 06:23:24 -05:00
parent 63b0a6d45e
commit 2b5a54b401
1 changed files with 3 additions and 3 deletions

View File

@ -85,15 +85,15 @@ public:
uint8 stage2_ticks;
uint8 stage3_ticks;
void tick();
void tick(unsigned clocks);
inline void tick();
inline void tick(unsigned clocks);
};
Timer<128> timer0;
Timer<128> timer1;
Timer< 16> timer2;
alwaysinline void tick();
inline void tick();
alwaysinline void op_io();
debugvirtual alwaysinline uint8 op_read(uint16 addr);
debugvirtual alwaysinline void op_write(uint16 addr, uint8 data);