summaryrefslogtreecommitdiff
path: root/src/gpu_regs.c
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2019-07-29 13:06:45 -0400
committerGitHub <noreply@github.com>2019-07-29 13:06:45 -0400
commit5b57c001f5fe653542b6289540e3b6c6b67a8cfe (patch)
tree26a9ba631960bc56d01daca1777164801d4e0075 /src/gpu_regs.c
parent54c635683c1d2573885987acc4e99728f38e5131 (diff)
parent136da953d6888562e76b0694a98988888adcd6d8 (diff)
Merge branch 'master' into navdata
Diffstat (limited to 'src/gpu_regs.c')
-rw-r--r--src/gpu_regs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu_regs.c b/src/gpu_regs.c
index e5ff4fe8f..3bcc4fd93 100644
--- a/src/gpu_regs.c
+++ b/src/gpu_regs.c
@@ -10,9 +10,9 @@
static u8 sGpuRegBuffer[GPU_REG_BUF_SIZE];
static u8 sGpuRegWaitingList[GPU_REG_BUF_SIZE];
-static bool8 sGpuRegBufferLocked;
-static bool8 sShouldSyncRegIE;
-static u16 sRegIE;
+static volatile bool8 sGpuRegBufferLocked;
+static volatile bool8 sShouldSyncRegIE;
+static vu16 sRegIE;
static void CopyBufferedValueToGpuReg(u8 regOffset);
static void SyncRegIE(void);