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
Uniforms/constants aren't shared in D3D, let's not pretend they are.
D3D: Use fixed constant registers for pixel shader constants
D3D: Use fixed constant registers for vertex shaders too.
Some renaming
DX9: Not much point in tracking dirtiness per shader now that all constants are shared.
DX9: "Linked" shaders are now pointless, so remove them.
D3D: Assorted cleanup. Add a missing register specification.
Replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai
Bind the alphatest tex after we know vert alpha.

Before we sometimes thought alpha test was trivially true when it wasn't.
Merge pull request #6878 from daniel229/func_replace_orenoimouto

Replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai
Fix infinite recursion in framebuf create upload.

Needs to be done *after* currentRenderVfb_ is set.

Fixes #6872.