summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-07-23 15:47:25 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-07-23 15:47:25 -0400
commite3993e2b34282933f149b85a4cfe7f45e051b504 (patch)
tree320fda1ecbdee8b5454c22e90d06fd18719791ff /src
parente13e7eccafdc48b648bf20f8e02f72130c51d1ab (diff)
These variables are volatile
Diffstat (limited to 'src')
-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 a7030732b..c1909ff32 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);