mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue