[GX] buildfix for salamander
(GX) Inlined and simplified version of GXLoadTexObj
(GX) Make input driver more generic
(GX) Make gx_audio.c and platform_gx.c more generic
(GXO Forgot to commit gx/sdk_defines.h
(Apple) Integrate apple_hid_pad code into apple_joypad
Revert "(Apple) Integrate apple_hid_pad code into apple_joypad"

This reverts commit 62d1e311ada51b2b23c152e2f7e877971d11f780.
(Lakka) Better separation of code logic and display code -
disp/lakka.c should only be concerned with 'rendering' things to
the screen - and backend  driver should actually implement the
logic
(PS3) Clean up Salamander implementation
(Salamander) Clean up Wii/Xbox implementations too
Take out cell/pad.h include in platform_ps3.c
(XDK) Some cleanups to find_and_set_first_file
(GX) Make find_and_set_first_file the same as code for PS3
(PS3/GX/XDK) Refactor find_and_set_first_file
Move find_and_set_first_file to frontend_salamander.c
(PSP) implemented salamander and added support for switching between
cores.
(PSP) rebase and sync with upstream changes.
(PSP) rebase and sync with upstream changes.