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
This commit is contained in:
parent
b83d3e8970
commit
fec9234aca
|
@ -101,11 +101,7 @@ protected:
|
||||||
{
|
{
|
||||||
SBuffer Buffer;
|
SBuffer Buffer;
|
||||||
Buffer.m_Address = Memory::Read_U32(BufferVectorOffset);
|
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;
|
BufferVectorOffset += 4;
|
||||||
|
|
||||||
Buffer.m_Size = Memory::Read_U32(BufferVectorOffset);
|
Buffer.m_Size = Memory::Read_U32(BufferVectorOffset);
|
||||||
BufferVectorOffset += 4;
|
BufferVectorOffset += 4;
|
||||||
DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer in%i: 0x%08x, 0x%x",
|
DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer in%i: 0x%08x, 0x%x",
|
||||||
|
@ -118,10 +114,7 @@ protected:
|
||||||
{
|
{
|
||||||
SBuffer Buffer;
|
SBuffer Buffer;
|
||||||
Buffer.m_Address = Memory::Read_U32(BufferVectorOffset);
|
Buffer.m_Address = Memory::Read_U32(BufferVectorOffset);
|
||||||
|
|
||||||
Memory::Write_U32(Buffer.m_Address | 0x80000000, BufferVectorOffset);
|
|
||||||
BufferVectorOffset += 4;
|
BufferVectorOffset += 4;
|
||||||
|
|
||||||
Buffer.m_Size = Memory::Read_U32(BufferVectorOffset);
|
Buffer.m_Size = Memory::Read_U32(BufferVectorOffset);
|
||||||
BufferVectorOffset += 4;
|
BufferVectorOffset += 4;
|
||||||
DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer io%i: 0x%08x, 0x%x",
|
DEBUG_LOG(WII_IPC_HLE, "SIOCtlVBuffer io%i: 0x%08x, 0x%x",
|
||||||
|
|
Loading…
Reference in New Issue