diff --git a/Source/RSP/dma.c b/Source/RSP/dma.c index ec7b1d8ee..9fa49ea98 100644 --- a/Source/RSP/dma.c +++ b/Source/RSP/dma.c @@ -99,7 +99,7 @@ void SP_DMA_WRITE (void) { addr = (*RSPInfo.SP_DRAM_ADDR_REG) & 0x00FFFFFF; - if (*RSPInfo.SP_DRAM_ADDR_REG > 0x800000) { + if (addr > 0x800000) { MessageBox(NULL,"SP DMA WRITE\nSP_DRAM_ADDR_REG not in RDRam space","Error",MB_OK); return; }