Fix incorrect size of GBA timer registers in test code

This commit is contained in:
Madeline Busig 2024-09-12 15:16:34 -07:00
parent 64f44984b6
commit 7eef3819ad

View File

@ -3,11 +3,11 @@
#ifdef __GBA__
#ifndef REG_TM2D
#define REG_TM2D *(volatile uint32_t*)(0x04000108)
#define REG_TM2D *(volatile uint16_t*)(0x04000108)
#endif
#ifndef REG_TM2CNT
#define REG_TM2CNT *(volatile uint32_t*)(0x0400010A)
#define REG_TM2CNT *(volatile uint16_t*)(0x0400010A)
#endif
#ifndef TM_ENABLE