Closed meepingsnesroms closed 4 years ago
If you want to eliminate AWT, you'll just need to rewrite PlatformGraphics and PlatformImage. PlatformFont and MobilePlatform should be trivial to update. You'll also need to write your own frontend, but that goes without saying.
Essentially, it's just 5 files. The bulk of the work will be replacing PlatformGraphics.
I have compiled openjdk-9 for android armv7 and android x86 and there is no awt port since that requires native librarys.
When I try to run freej2me libretro I get an exception on awt functions.
I dont know how hard this would be but android wont even take memory only awt functions even if they dont try to display anything as is the case with freej2me-lr.jar
For this to work on android with the openjdk it would require porting the memory only awt functions or not using awt since there is no android version available.
The best route would be to port an actual jvm to RetroArch but this may be extremely hard.