From b5ba9b3479b177dc8e5dd617ae079ca89c4730d9 Mon Sep 17 00:00:00 2001 From: Marcos Vitali Date: Mon, 13 Dec 2010 23:04:13 +0000 Subject: [PATCH] I've fixed a beautiful bug in GPFifo the current Memory in some conditions was not assigned right. Pleaseee test again your games with FIFO hangs like WII music, WII sport, Wii resort, etc. May be this help :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6575 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/GPFifo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/GPFifo.cpp b/Source/Core/Core/Src/HW/GPFifo.cpp index bd7c2aacd5..4021e5bee3 100644 --- a/Source/Core/Core/Src/HW/GPFifo.cpp +++ b/Source/Core/Core/Src/HW/GPFifo.cpp @@ -82,9 +82,9 @@ void STACKALIGN CheckGatherPipe() // increase the CPUWritePointer if (ProcessorInterface::Fifo_CPUWritePointer == ProcessorInterface::Fifo_CPUEnd) - { - curMem -= ProcessorInterface::Fifo_CPUWritePointer - ProcessorInterface::Fifo_CPUBase; + { ProcessorInterface::Fifo_CPUWritePointer = ProcessorInterface::Fifo_CPUBase; + curMem = Memory::GetPointer(ProcessorInterface::Fifo_CPUWritePointer); } else {