From 7eef3819ad011d15d66fbe4341267b637e453349 Mon Sep 17 00:00:00 2001 From: Madeline Busig Date: Thu, 12 Sep 2024 15:16:34 -0700 Subject: [PATCH] Fix incorrect size of GBA timer registers in test code --- include/mtl/test.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mtl/test.hpp b/include/mtl/test.hpp index f7a50ca..abd83b4 100644 --- a/include/mtl/test.hpp +++ b/include/mtl/test.hpp @@ -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