diff --git a/Core/Config.cpp b/Core/Config.cpp index 967ac4cf4c..21dda09765 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -22,7 +22,11 @@ Config g_Config; +#ifdef _WIN32 +#define MAX_RECENT 12 +#else #define MAX_RECENT 4 +#endif Config::Config() { diff --git a/UI/MenuScreens.cpp b/UI/MenuScreens.cpp index 4826d12d79..b344b4211a 100644 --- a/UI/MenuScreens.cpp +++ b/UI/MenuScreens.cpp @@ -200,7 +200,7 @@ void MenuScreen::render() { ui_draw2d.DrawTextShadow(UBUNTU24, PPSSPP_GIT_VERSION, dp_xres + xoff, 85, 0xFFFFFFFF, ALIGN_RIGHT | ALIGN_BOTTOM); ui_draw2d.SetFontScale(1.0f, 1.0f); VLinear vlinear(dp_xres + xoff, 100, 20); - VLinear vlinear2(-xoff, 100, 20); + VGrid vgrid_recent(-xoff, 100, 480, 20, 20); if (UIButton(GEN_ID, vlinear, w, "Load...", ALIGN_RIGHT)) { #if defined(USING_QT_UI) @@ -267,11 +267,11 @@ void MenuScreen::render() { GameInfo *ginfo = g_gameInfoCache.GetInfo(g_Config.recentIsos[i], false); if (ginfo) { - if (UITextureButton(ctx, (int)GEN_ID_LOOP(i), vlinear2, 144, 80, ginfo->iconTexture, ALIGN_LEFT)) { + if (UITextureButton(ctx, (int)GEN_ID_LOOP(i), vgrid_recent, 144, 80, ginfo->iconTexture, ALIGN_LEFT)) { screenManager()->switchScreen(new EmuScreen(g_Config.recentIsos[i])); } } else { - if (UIButton((int)GEN_ID_LOOP(i), vlinear2, recentW, filename.c_str(), ALIGN_LEFT)) { + if (UIButton((int)GEN_ID_LOOP(i), vgrid_recent, recentW, filename.c_str(), ALIGN_LEFT)) { screenManager()->switchScreen(new EmuScreen(g_Config.recentIsos[i])); } } diff --git a/native b/native index 8e06b06d7e..f45b5d6094 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 8e06b06d7efb3299d8c6139651d99616273d6aa7 +Subproject commit f45b5d6094d38f8ae21935c2ebff3cf269950be8