summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-07-23 15:42:41 -0400
committerGitHub <noreply@github.com>2019-07-23 15:42:41 -0400
commitfd53bbc464eef80d91246d0abdbcd8c5cbb4c912 (patch)
tree0ade0c67b43f28137cd5c961c856ec36099507b0 /src
parent23b3d4bd5e1af5b7d10758b418c7637772dbb6b3 (diff)
parent8cc776e2ee4dc426be44495052bce9f576c041f7 (diff)
Merge pull request #750 from DizzyEggg/patch-7
tilemap glitch gpu reg fix hopefully
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 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);