We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768c2bf commit 7b2912bCopy full SHA for 7b2912b
menu/drivers/rgui.c
@@ -101,6 +101,7 @@
101
#define RGUI_DINGUX_FB_HEIGHT 240
102
#endif
103
104
+#define RGUI_VITA_FB_HEIGHT 272
105
106
/* Maximum entry value length in characters
107
* when using fixed with layouts
@@ -6112,6 +6113,10 @@ static bool rgui_set_aspect_ratio(
6112
6113
#elif defined(DINGUX)
6114
/* Dingux devices use a fixed framebuffer size */
6115
rgui->frame_buf.height = RGUI_DINGUX_FB_HEIGHT;
6116
+#elif defined(VITA)
6117
+ /* Vita screen does not match 240 */
6118
+ rgui->frame_buf.height = RGUI_VITA_FB_HEIGHT;
6119
+ video_driver_get_viewport_info(&vp);
6120
#else
6121
/* If window height is less than RGUI default
6122
* height of 240, allow the frame buffer to
0 commit comments