Built RetroArch on OpenPandora

I made a Pandora package of RetroArch with a handful of libretro implementations working in it: http://boards.openpandora.org/index.php?/topic/9061-retroarch-nes-genesis-gbc-gba-and-more Figured it might be of interest here, if only as another platform where RetroArch works. It didn’t take much modification–and to be honest, most of the modifications I did make (ugly hacking-apart of the RPi driver to make it an X11/EGL driver instead of the seemingly RPi-specific DispMan) ended up being mostly unnecessary, since Pandora has a special hardware-accelerated SDL driver. I’ll probably return to it later and just make it an external video driver, or maybe have the existing GL driver build against GL implemented in terms of GLES.

Hi there,

yes it didn’t went unnoticed. Thanks for doing the port.

The main aim I have really is that we can have a singular codebase for most of these emus that will negate the need for any platform-specific ports in the future. So far, this approach is really working out nice on my end where I can compile the exact same codebase and run it on different systems like Xbox 360, PS3, Wii, and (soon to be) Xbox 1, PS3 (PSL1GHT) and Android.

Very excited to have another platform to add to that. Perhaps we can group together ‘Raspberry Pi’ and ‘Pandora’ as one ‘libretro’ target - for instance - you would compile a libretro port with make platform=arm and it would compile and create an archive of the libretro port with some ARM-specific defines enabled - so that you could do some platform-specific optimizations for ARM in a libretro port.

About RetroArch - I would happily merge non-hacky commits so that we can get Pandora support in mainline.

Also, a GLES driver is badly needed in general - the current one in gfx/gles.c is just a stub copy of gfx/gl.c. I could get by with gfx/gl.c before because the PS3’s GL implementation was GLES 1.1 (which still had most of the fixed function stuff implemented). If you can be of any help in that area, then I’m all for it.

Cool, I’ll try to clean things up and make a little build script for Pandora then.

edit: https://github.com/lifning/RetroArch/ should be suitable, I reverted all the hacks, leaving the source code unchanged from upstream save for the addition of my Makefile and the file structure for the PND package.