fix the game browser extending too far right, fix border color on game

preview box. restore video settings to same defaults used by other emus.
This commit is contained in:
Daryl Borth 2018-08-26 16:58:45 -06:00
parent 43e84a299e
commit c0ac5468cd
5 changed files with 5 additions and 31 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -4658,8 +4658,6 @@ MainMenu (int menu)
mainWindow->Append(bgBottomImg); mainWindow->Append(bgBottomImg);
mainWindow->Append(btnLogo); mainWindow->Append(btnLogo);
printf("in main menu()\n");
if(currentMenu == MENU_GAMESELECTION) if(currentMenu == MENU_GAMESELECTION)
ResumeGui(); ResumeGui();

View File

@ -324,35 +324,12 @@ static GXRModeObj * FindVideoMode()
progressive = false; progressive = false;
#ifdef HW_RVL #ifdef HW_RVL
bool pal = false; if (CONF_GetAspectRatio() == CONF_ASPECT_16_9)
mode->viWidth = 678;
if (mode == &TVPal576IntDfScale)
pal = true;
/*if (CONF_GetAspectRatio() == CONF_ASPECT_16_9 && mode->xfbHeight != 240)
{
if (pal)
{
mode = &TVPal528IntDf;
mode->xfbHeight = 542;
mode->viHeight = 542;
}
else else
{ mode->viWidth = 672;
mode->xfbHeight = 456;
mode->viHeight = 456;
}
mode->fbWidth = 640; if (mode->viTVMode >> 2 == VI_PAL)
mode->efbHeight = 456;
mode->viWidth = 686;
}
else*/
{
mode->viWidth = 704;
}
if (pal)
{ {
mode->viXOrigin = (VI_MAX_WIDTH_PAL - mode->viWidth) / 2; mode->viXOrigin = (VI_MAX_WIDTH_PAL - mode->viWidth) / 2;
mode->viYOrigin = (VI_MAX_HEIGHT_PAL - mode->viHeight) / 2; mode->viYOrigin = (VI_MAX_HEIGHT_PAL - mode->viHeight) / 2;
@ -363,7 +340,6 @@ static GXRModeObj * FindVideoMode()
mode->viYOrigin = (VI_MAX_HEIGHT_NTSC - mode->viHeight) / 2; mode->viYOrigin = (VI_MAX_HEIGHT_NTSC - mode->viHeight) / 2;
} }
#endif #endif
return mode; return mode;
} }