Hi all
I have successfully ported SDL2, the screen will be automatically rotated and a screen resolution of 480x320 will be reported to the underlying application so you don't need modified PPSSPP or Emulationstation anymore.
There are tons of free games to find on github and probably some good emulators using SDL2, there are also some good open source GUI's (nanoguisdl) which supports SDL2 too, so here we go have fun with it.
Code: Select all
wget https://oph.mdrjr.net/meveric/pool/go2/libm/libmali-rk/libmali-rk-bifrost-g31-rxp0-gbm_1.7-2+deb10_arm64.deb
wget https://oph.mdrjr.net/meveric/pool/go2/libm/libmali-rk/libmali-rk-dev_1.7-1+deb10_arm64.deb
sudo apt install ./libmali-rk-dev_1.7-1+deb10_arm64.deb ./libmali-rk-bifrost-g31-rxp0-gbm_1.7-2+deb10_arm64.deb
First package are the runtime libraries and second is the development package (headers etc.) in case you are about to compile applications
The SDL2 library will install in /usr/lib/aarch64-linux-gnu and will overwrite any previously installed SDL2 library

Code: Select all
wget https://www.areascout.at/libsdl2_2.0.10_arm64.deb
wget https://www.areascout.at/libsdl2-dev_2.0.10_arm64.deb
sudo apt install ./libsdl2_2.0.10_arm64.deb
sudo apt install ./libsdl2-dev_2.0.10_arm64.deb
The patch used for SDL2 2.0.12 you can find here -> https://github.com/AreaScout/SDL/commit ... 4180.patch
If you need the test programs for SDL2 (controllermap etc.), they are found inside the libsdl2-dev package, please do this:
Code: Select all
cd /usr/share/doc/libsdl2-dev/examples/
tar xvf examples.tar.gz
cd test
gcc controllermap.c -o controllermap -lSDL2 -lSDL2_test -lGLESv2 -I /usr/include/SDL2/
controllermap 0 > gamecontrollerdb.txt