aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu
diff options
context:
space:
mode:
Diffstat (limited to 'libpsn00b/psxgpu')
-rw-r--r--libpsn00b/psxgpu/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpsn00b/psxgpu/common.c b/libpsn00b/psxgpu/common.c
index de60df4..cef1508 100644
--- a/libpsn00b/psxgpu/common.c
+++ b/libpsn00b/psxgpu/common.c
@@ -215,7 +215,7 @@ void DrawOTag(const uint32_t *ot) {
// condition where the DMA transfer could end while interrupts are being
// disabled. Interrupts are disabled through the IRQ_MASK register rather
// than by calling EnterCriticalSection() for performance reasons.
- uint32_t mask = IRQ_MASK;
+ uint16_t mask = IRQ_MASK;
IRQ_MASK = 0;
if (DMA_CHCR(2) & (1 << 24)) {