mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 07:38:05 -04:00
ui, scaling in sdl window mode (ATM hidden)
This commit is contained in:
parent
e08e46ba44
commit
1106272c84
3 changed files with 18 additions and 3 deletions
|
@ -78,8 +78,7 @@ static const char *men_dummy[] = { NULL };
|
|||
#elif defined(PANDORA)
|
||||
#include <platform/pandora/menu.c>
|
||||
#else
|
||||
#define MENU_OPTIONS_GFX
|
||||
#define MENU_OPTIONS_ADV
|
||||
#include <platform/linux/menu.c>
|
||||
#endif
|
||||
|
||||
static void make_bg(int no_scale, int from_screen)
|
||||
|
|
|
@ -230,7 +230,7 @@ void plat_video_loop_prepare(void)
|
|||
// take over any new vout settings XXX ask plat_sdl for scaling instead!
|
||||
plat_sdl_change_video_mode(g_menuscreen_w, g_menuscreen_h, 0);
|
||||
// switch over to scaled output if available
|
||||
if (plat_sdl_overlay != NULL || plat_sdl_gl_active) {
|
||||
if (plat_sdl_overlay != NULL || plat_sdl_gl_active || currentConfig.scaling != EOPT_SCALE_NONE) {
|
||||
g_screen_width = 320;
|
||||
g_screen_height = 240;
|
||||
g_screen_ppitch = g_screen_width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue