mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
rg99 support
This commit is contained in:
parent
95788d2ff2
commit
9ec3b5ac0e
4 changed files with 25 additions and 3 deletions
|
@ -336,7 +336,7 @@ void plat_init(void)
|
|||
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
|
||||
|
@ -372,6 +372,11 @@ void plat_init(void)
|
|||
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();
|
||||
}
|
||||
|
||||
|
|
9
platform/opendingux/data/default.rg99.desktop
Normal file
9
platform/opendingux/data/default.rg99.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
[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
|
|
@ -78,7 +78,7 @@ const char * const _in_sdl_key_names[SDLK_LAST] = {
|
|||
[SDLK_RETURN] = "START",
|
||||
[SDLK_ESCAPE] = "SELECT",
|
||||
|
||||
#if defined(__RG350__) || defined(__OPENDINGUX__)
|
||||
#if defined(__RG350__) || defined(__OPENDINGUX__) || defined(__RG99__)
|
||||
[SDLK_HOME] = "POWER",
|
||||
|
||||
[SDLK_TAB] = "L1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue