Version
3.5-2313
Förgrening
master
Datum
7 år, 2 månader sedan
Windows x64 Windows x86 Android Mac OS X
Revisionsinformation
4add0f55e046c4fd2943e96da127b4940543ac84
Ändringens upphovsman
comex
Ändringens beskrivning
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.)