From 0ced20c1cf87866760be9bf59539638fd5b62356 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Thu, 19 May 2011 16:31:46 +0000 Subject: [PATCH] just a test for shfl2|bot git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7552 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/DSP.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index 5ce02e1d71..4ae15253cc 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -370,6 +370,7 @@ void Read16(u16& _uReturnValue, const u32 _iAddress) break; default: + _uReturnValue = 0; _dbg_assert_(DSPINTERFACE,0); break; } @@ -580,15 +581,15 @@ void Write32(const u32 _iValue, const u32 _iAddress) // ARAM case AR_DMA_MMADDR_H: - g_arDMA.MMAddr = _iValue; + g_arDMA.MMAddr = _iValue & ~31; break; case AR_DMA_ARADDR_H: - g_arDMA.ARAddr = _iValue; + g_arDMA.ARAddr = _iValue & ~31; break; case AR_DMA_CNT_H: - g_arDMA.Cnt.Hex = _iValue; + g_arDMA.Cnt.Hex = _iValue & ~31; Do_ARAM_DMA(); break;