Try to allocate executable memory close to PPSSPP memory if not below 4GB
executable memory allocation changes
fix 32-bit builds
typo
Detect and use SDL2 with help of this Dolphin CMake module:
https://github.com/dolphin-emu/dolphin/blob/master/CMakeTests/FindSDL2.cmake
Look for SDL_gamecontroller.h instead of SDL.h to prevent CMake from
using SDL1 include dirs
Update to SDL2
Update native submodule
Merge branch 'master' into sdl2

Conflicts:
	native
dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2
dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most
dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most
amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code
Replace download frame in Sora no kiseki FC
Replace download frame in Sora no kiseki SC,and a comment for Sora no kiseki 3rd
CMakeLists.txt: Add ARM based Linux PLATFORM_ARCH

* Don't assume all Linux systems are strictly x86.
* Add values when Linux is used on an ARM device

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
CMakeLists.txt: Add BB as a supported board

* Some of the configuration needs to be tweaked when building for a Beaglebone
  and Beaglebone Black.
* Unlike the Raspberry PI there aren't any files to check against to determine
  at build time if this is being built for the Raspberry PI. Therefore, create
  a variable that the user has to pass in (-DBB:BOOL=ON) that will tell CMAKE
  to build PPSSPPSDL for the BB/BBB.
* This will also make it alot easier for users to cross compile for this device

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
MemArena.cpp: Fix Bus Error when running on Beaglebone/Beaglebone Black

* Similar to commit 178891b57608a8df1541b3f7fc6ee83ad1b50989 when running the
  emulator a "Bus Error" would be given andn will cause a seg fault immediately.
* When running on the BB change the path of the ram temp file to a valid
  location.

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
d3d9: Show error when default shaders fail.
Add a .gitattributes to normalize newlines.

No code changes.