Move flush_audio to libretro_version_1.c as static function
(rarch_main_command) Inline set_fullscreen function into RARCH_CMD_REINIT
Add RARCH_CMD_SHADER_DIR_INIT/RARCH_CMD_SHADER_DIR_DEINIT
Move rarch_check_block_hotkey to input/input_common.c and make
the function static
Refactor meta_input_keys_pressed
Turn more functions into static
Fix joypad driver setting

input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
Fallback to first working joypad driver if init failed

Fallback to the old behavior on init failure so there's no
regression if the user did not select a working joypad driver.
Merge pull request #1080 from mprobinson/joypad-driver

Fix joypad driver setting
menu_environment_get - only set libretro core if g_extern.has_set_libretro
is false
Expand rarch_main_command
Add RARCH_CMD_REWIND_DEINIT/RARCH_CMD_REWIND_INIT/RARCH_CMD_REWIND_TOGGLE
Move more stuff to rarch_main_command
Cleanups
Have more initing/deiniting go through rarch_main_command
Add more commands to rarch_main_command
RARCH_CMD_RECORD_INIT - call rarch_main_command(RARCH_CMD_RECORD_DEINIT)
for safety precautions
Add RARCH_CMD_CORE_INFO_DEINIT
Add RARCH_CMD_DRIVERS_DEINIT/RARCH_CMD_DRIVERS_INIT
A lot of functions could be made static in driver.c