RetroArch/wiiu
gblues 86ac651edf Fix disabled HID code, add defensive programming
== 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.
2018-01-18 19:57:19 -08:00
..
fs WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
include WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
input Fix disabled HID code, add defensive programming 2018-01-18 19:57:19 -08:00
slang (WIIU) add a better converter for slang shaders. 2018-01-09 03:05:29 +01:00
system Remove all HID code from WiiU build via ifdef 2018-01-07 20:26:24 -08:00
wut/elf2rpl WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
gx2_shader_inl.h (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
hbl.c Fix disabled HID code, add defensive programming 2018-01-18 19:57:19 -08:00
hbl.h WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
link_elf.ld
link_rpl.ld
link.ld
net_listen.sh Minor cleanups 2018-01-13 12:16:37 -08:00
net_send.sh
run.sh (WIIU) fix net logger. 2018-01-04 17:21:16 +01:00
shader_utils.c (WIIU) check for NULL in gfd_free 2018-01-07 03:40:03 +01:00
shader_utils.h WiiU: C89 style comments 2018-01-06 09:44:03 -03:00
wiiu_dbg.h WiiU: C89 style comments 2018-01-06 09:44:03 -03:00