New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove weird buffering from WII_IPC_HLE_Device_sdio_slot0.cpp #542
Conversation
|
Why was it there in first place? |
|
The difference between the old code and the new code is that the new code can crash Dolphin... granted, our memory code is a mess, but this isn't a step in the right direction. |
|
How can the new code crash? |
|
Memory::GetPointer can return null. |
|
Would that ever happen in any case that also wouldn't crash the Wii? |
|
Also, with Memory::Read8 as currently done, IPC_HLE can trigger a DSI, On Mon, Jun 30, 2014 at 9:44 PM, Jasper St. Pierre <notifications@github.com
Pierre "delroth" Bourdon delroth@gmail.com |
|
It wouldn't happen normally. I'm not completely sure how a Wii would react.. |
|
IPC request would return an error. IOS usually checks where the data comes On Mon, Jun 30, 2014 at 9:51 PM, magumagu notifications@github.com wrote:
Pierre "delroth" Bourdon delroth@gmail.com |
|
Since the old code was just as wrong as the new one on top of being slow, I don't think the use of GetPointer should block this PR. |
Remove weird buffering from WII_IPC_HLE_Device_sdio_slot0.cpp
No description provided.