Fix sGpuRegBuffer potential alignment issues (#2157)

This commit is contained in:
DizzyEggg authored and GitHub committed 2025-06-25 17:54:13 +01:00
1 parent e1b83d6056
commit 64a6e8817c
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
#define EMPTY_SLOT 0xFF
static u8 sGpuRegBuffer[GPU_REG_BUF_SIZE];
static ALIGNED(2) u8 sGpuRegBuffer[GPU_REG_BUF_SIZE]; // sGpuRegBuffer is read as u16 so it needs to be properly aligned
static u8 sGpuRegWaitingList[GPU_REG_BUF_SIZE];
static volatile bool8 sGpuRegBufferLocked;
static volatile bool8 sShouldSyncRegIE;