mirror of
https://github.com/libretro/RetroArch
synced 2025-01-06 01:02:15 +00:00
86ac651edf
== DETAILS 1. Noticed that the HID driver wasn't loading after setting WIIU_HID=1. Found that the HID driver init was ifdef'd out. Removed that. 2. Current theory around "System Memory Error 160-2203" is in-memory corruption. So, to try to identify it: - Created a routine that does a hex dump of the RPX over the logger. (I have a python3 script that can extract the hex dump back into a binary file). If a SME occurs with this routine enabled, we can see if the corruption is happening at read-time, or somewhere between when we send the RPX to the loader and try to execute it. - I noticed that we allocate slightly more memory than the RPX actually needs, and we don't zero the memory, which means there's a handful of bytes at the end that could be anything. I added a call to memset() to zero out the memory prior to loading the RPX off the SD card. And, of course, after adding those, I haven't been able to reproduce the System Memory Error, so maybe the uninitialized memory was the problem? Here's hoping. |
||
---|---|---|
.. | ||
fs | ||
include | ||
input | ||
slang | ||
system | ||
wut/elf2rpl | ||
gx2_shader_inl.h | ||
hbl.c | ||
hbl.h | ||
link_elf.ld | ||
link_rpl.ld | ||
link.ld | ||
net_listen.sh | ||
net_send.sh | ||
run.sh | ||
shader_utils.c | ||
shader_utils.h | ||
wiiu_dbg.h |