summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2013-09-09 23:33:42 -0400
committercomex <comexk@gmail.com>2013-09-09 23:57:51 -0400
commit4add0f55e046c4fd2943e96da127b4940543ac84 (patch)
treed9dfcba3c6d905e87bd8aa0c4114a1168a93825a /Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
parenta3ef35a1bf00b5a0dedc41e7670ba58d48cd8291 (diff)
Fix SDIO HLE writing garbage to memory.
When servicing a write-register request, it wrote the contents to the register offset plus 0x8d070000, which corresponds to the actual hardware registers, presumably in case the application wanted to read them directly rather than with a read-register request. WriteToHardware doesn't handle cached writes to registers, so it decided the address was RAM, applied RAM_MASK, and happily wrote the register contents to 0x81070000, causing random corruption. Since the PPC does not normally have access to those registers, there is no reason to be doing this in the first place. Use a member to store these values instead. (Also add a proper DoState.)
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp')
0 files changed, 0 insertions, 0 deletions