diff options
| author | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-08-21 23:36:45 +0200 |
|---|---|---|
| committer | spicyjpeg <thatspicyjpeg@gmail.com> | 2022-08-21 23:36:45 +0200 |
| commit | f2e946cc0f9730c0da56aae533b3429a0381003e (patch) | |
| tree | 7ae3607a4708d8cdae096fa07dea774cead6ae4d /libpsn00b/psxgpu | |
| parent | c845878cb43da4f7470914a064109db2270fd7e6 (diff) | |
| download | psn00bsdk-f2e946cc0f9730c0da56aae533b3429a0381003e.tar.gz | |
Fix psxetc bugs, IRQ controller register size
Diffstat (limited to 'libpsn00b/psxgpu')
| -rw-r--r-- | libpsn00b/psxgpu/common.c | 2 |
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)) { |
