# "" means "autodetect".
# TODO this is annoyingly messy. should have platform and device
-platform_list="generic pandora gp2x wiz caanoo dingux retrofw gcw0 rg350 opendingux miyoo rpi1 rpi2 psp"
+platform_list="generic pandora gp2x wiz caanoo dingux retrofw gcw0 rg350 opendingux miyoo rpi1 rpi2 psp rg99"
platform="generic"
sound_driver_list="oss alsa sdl"
sound_drivers=""
MFLAGS="-march=mips32r2"
platform="opendingux"
;;
+ rg99)
+ # RG99 using opendingux, with Ingenic MIPS JZ4725B
+ sound_drivers="sdl"
+ # mostly based on opendingux for gcw0, save device type as C define.
+ CFLAGS="$CFLAGS -D__`echo $platform | tr '[a-z]' '[A-Z]'`__"
+ MFLAGS="-march=mips32"
+ platform="opendingux"
+ ;;
miyoo)
# Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s
sound_drivers="sdl"
ret = plat_sdl_init();
if (ret != 0)
exit(1);
-#if defined(__RG350__) || defined(__GCW0__) || defined(__OPENDINGUX__)
+#if defined(__RG350__) || defined(__GCW0__) || defined(__OPENDINGUX__) || defined(__RG99__)
// opendingux on JZ47x0 may falsely report a HW overlay, fix to window
plat_target.vout_method = 0;
#endif
in_sdl_init(&in_sdl_platform_data, plat_sdl_event_handler);
in_probe();
+#if defined(__RG99__)
+ // do not use the default resolution
+ plat_video_set_size(320, 240);
+#endif
+
bgr_to_uyvy_init();
}
--- /dev/null
+[Desktop Entry]
+Type=Application
+Name=Picodrive
+Comment=A megadrive/genesis emulator
+Exec=PicoDrive %f
+Icon=megadrive
+Terminal=false
+Categories=emulators;
+MimeType=.md;.smd;.gen;.bin;.sms;.gg;.sg;.cue;.chd;.cso;.iso;.32x;.pco;.zip
[SDLK_RETURN] = "START",
[SDLK_ESCAPE] = "SELECT",
-#if defined(__RG350__) || defined(__OPENDINGUX__)
+#if defined(__RG350__) || defined(__OPENDINGUX__) || defined(__RG99__)
[SDLK_HOME] = "POWER",
[SDLK_TAB] = "L1",