Boot-Strategy:
- is "argv[0]" set, then the boot-device extracted from the argv.
- if no meaningful boot device found, then looking for
"boot.dol"/"boot.elf" in "apps/usbloader_gx/"
first on "SD:/" and then on "USB:/".
When found, than use this Device. Otherwise use the default "SD:"
- Set all default-Paths on this Device
- Set the Path for config-Folder, GXGlobal.cfg, GXGameSettings.cfg
and GXGameFavorites.cfg on this Device (e.g. USB:/config and so on)
* clean up the wild mounts and unmounts (this and the new libfat fix the download-bug)
* reorganize shutdowns and reboots use now the functions Sys_Reboot(), Sys_Shutdown(), Sys_ShutdownToIdel(), Sys_ShutdownToStandby() and Sys_BackToLoader()
this functions stops the GUI-Thread, Shutdowns the Audio, Video, WPad and unmounts the SD and USB