From fec9234aca11d18108a1531e6d2cffcca2c458ef Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 16 Aug 2010 00:14:08 +0000 Subject: [PATCH] IPC HLE: don't automatically make all addresses the cached one, leave them as however they have been written. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6099 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h index b609cf54ef..b413f2aff1 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h @@ -101,11 +101,7 @@ protected: { SBuffer Buffer; Buffer.m_Address = Memory::Read_U32(BufferVectorOffset); - - // Restore cached address, mauled by emulator's ioctl functions. - Memory::Write_U32(Buffer.m_Address | 0x80000000, BufferVectorOffset); BufferVectorOffset += 4; - Buffer.m_Size = Memory::Read_U32(BufferVectorOffset); BufferVectorOffset += 4; DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer in%i: 0x%08x, 0x%x", @@ -118,10 +114,7 @@ protected: { SBuffer Buffer; Buffer.m_Address = Memory::Read_U32(BufferVectorOffset); - - Memory::Write_U32(Buffer.m_Address | 0x80000000, BufferVectorOffset); BufferVectorOffset += 4; - Buffer.m_Size = Memory::Read_U32(BufferVectorOffset); BufferVectorOffset += 4; DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer io%i: 0x%08x, 0x%x",