mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
*Fixed tooltip
*Changed max chars for path to 50 *Changed the covers and discimages to search for 6 ID first *Fixed issue 230 (giantpune)
This commit is contained in:
parent
0adb541dbd
commit
e311e8790c
@ -909,6 +909,7 @@ bool cfg_save_global()// save global settings
|
||||
fprintf(f, "cios = %d\n ", Settings.cios);
|
||||
fprintf(f, "xflip = %d\n ", Settings.xflip);
|
||||
fprintf(f, "qboot = %d\n ", Settings.qboot);
|
||||
fprintf(f, "wsprompt = %d\n", Settings.wsprompt);
|
||||
fprintf(f, "parentalcontrol = %d\n ", CFG.parentalcontrol);
|
||||
fprintf(f, "cover_path = %s\n ", CFG.covers_path);
|
||||
if(CFG.widescreen) {
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 38 KiB |
@ -808,7 +808,7 @@ int GameWindowPrompt()
|
||||
strncat(gameName, "...", 3);
|
||||
}
|
||||
|
||||
snprintf(imgPath,sizeof(imgPath),"%s%s.png", CFG.disc_path, ID); //changed to current id
|
||||
snprintf(imgPath,sizeof(imgPath),"%s%s.png", CFG.disc_path, IDFull); //changed to current id
|
||||
|
||||
if (diskCover)
|
||||
delete diskCover;
|
||||
@ -818,7 +818,7 @@ int GameWindowPrompt()
|
||||
if (!diskCover->GetImage())
|
||||
{
|
||||
delete diskCover;
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.disc_path, IDFull); //changed to current full id
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.disc_path, ID); //changed to current full id
|
||||
diskCover = new GuiImageData(imgPath, 0);
|
||||
if (!diskCover->GetImage())
|
||||
{
|
||||
@ -1706,7 +1706,7 @@ UpdateGUI (void *arg)
|
||||
else
|
||||
{
|
||||
mainWindow->Draw();
|
||||
//if (Settings.tooltips == TooltipsOn && THEME.showToolTip != 0)
|
||||
if (Settings.tooltips == TooltipsOn && THEME.showToolTip != 0)
|
||||
mainWindow->DrawTooltip();
|
||||
|
||||
#ifdef HW_RVL
|
||||
@ -2713,12 +2713,12 @@ static int MenuDiscList()
|
||||
cover = NULL;
|
||||
}
|
||||
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.covers_path, ID);
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.covers_path, IDfull);
|
||||
cover = new GuiImageData(imgPath,0); //load short id
|
||||
if (!cover->GetImage()) //if could not load the short id image
|
||||
{
|
||||
delete cover;
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.covers_path, IDfull);
|
||||
snprintf(imgPath, sizeof(imgPath), "%s%s.png", CFG.covers_path, ID);
|
||||
cover = new GuiImageData(imgPath, 0); //load full id image
|
||||
if (!cover->GetImage())
|
||||
{
|
||||
@ -3643,9 +3643,9 @@ static int MenuSettings()
|
||||
mainWindow->Remove(&page2Btn);
|
||||
w.Remove(&backBtn);
|
||||
w.Remove(&lockBtn);
|
||||
char entered[20] = "";
|
||||
char entered[50] = "";
|
||||
strncpy(entered, CFG.covers_path, sizeof(entered));
|
||||
int result = OnScreenKeyboard(entered, 20);
|
||||
int result = OnScreenKeyboard(entered, 50);
|
||||
mainWindow->Append(&optionBrowser2);
|
||||
mainWindow->Append(&page1Btn);
|
||||
mainWindow->Append(&page2Btn);
|
||||
@ -3671,9 +3671,9 @@ static int MenuSettings()
|
||||
mainWindow->Remove(&page2Btn);
|
||||
w.Remove(&backBtn);
|
||||
w.Remove(&lockBtn);
|
||||
char entered[20] = "";
|
||||
char entered[50] = "";
|
||||
strncpy(entered, CFG.disc_path, sizeof(entered));
|
||||
int result = OnScreenKeyboard(entered, 20);
|
||||
int result = OnScreenKeyboard(entered, 50);
|
||||
mainWindow->Append(&optionBrowser2);
|
||||
mainWindow->Append(&page1Btn);
|
||||
mainWindow->Append(&page2Btn);
|
||||
@ -3699,9 +3699,9 @@ static int MenuSettings()
|
||||
mainWindow->Remove(&page2Btn);
|
||||
w.Remove(&backBtn);
|
||||
w.Remove(&lockBtn);
|
||||
char entered[20] = "";
|
||||
char entered[50] = "";
|
||||
strncpy(entered, CFG.theme_path, sizeof(entered));
|
||||
int result = OnScreenKeyboard(entered, 20);
|
||||
int result = OnScreenKeyboard(entered, 50);
|
||||
mainWindow->Append(&optionBrowser2);
|
||||
mainWindow->Append(&page1Btn);
|
||||
mainWindow->Append(&page2Btn);
|
||||
@ -3772,8 +3772,8 @@ static int MenuSettings()
|
||||
mainWindow->Remove(&page2Btn);
|
||||
w.Remove(&backBtn);
|
||||
w.Remove(&lockBtn);
|
||||
char entered[20] = "";
|
||||
int result = OnScreenKeyboard(entered, 20);
|
||||
char entered[20] = "";
|
||||
int result = OnScreenKeyboard(entered, 20);
|
||||
mainWindow->Append(&page1Btn);
|
||||
mainWindow->Append(&page2Btn);
|
||||
mainWindow->Append(&optionBrowser2);
|
||||
|
Loading…
Reference in New Issue
Block a user