diff options
Diffstat (limited to 'src/timer.h')
| -rw-r--r-- | src/timer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h new file mode 100644 index 0000000..95fec0d --- /dev/null +++ b/src/timer.h @@ -0,0 +1,10 @@ +#ifndef GBC_TIMER_H +#define GBC_TIMER_H + +#include "gb.h" + +void timer_tick(GB *gb, int tcycles); +u8 timer_read(GB *gb, u16 addr); +void timer_write(GB *gb, u16 addr, u8 val); + +#endif |
