mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #1419 from SuperrSonic/master
(GX) Force aspect ratio idx to work on startup
This commit is contained in:
commit
bd5695f8a4
@ -1874,6 +1874,13 @@ int rarch_main_init(int argc, char *argv[])
|
||||
rarch_main_command(RARCH_CMD_REMAPPING_INIT);
|
||||
|
||||
rarch_main_command(RARCH_CMD_SAVEFILES_INIT);
|
||||
#if defined(GEKKO) && defined(HW_RVL)
|
||||
rarch_main_command(RARCH_CMD_VIDEO_SET_ASPECT_RATIO);
|
||||
if (driver.video_data && driver.video_poke
|
||||
&& driver.video_poke->set_aspect_ratio)
|
||||
driver.video_poke->set_aspect_ratio(driver.video_data,
|
||||
g_settings.video.aspect_ratio_idx);
|
||||
#endif
|
||||
|
||||
g_extern.error_in_init = false;
|
||||
g_extern.main_is_init = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user