From 043a755f8092fec07c5297ddc1e309f287cc469c Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 4 Dec 2008 20:40:48 +0000 Subject: [PATCH] git-svn-id: https://localhost/svn/Project64/trunk@18 111125ac-702d-7242-af9c-5ba8ae61c1ef --- Source/RSP/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }