mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-01 07:05:10 +01:00
app_info dialog:
- make 'load' button selected by default - make sure dvd icon is shown, if necessary
This commit is contained in:
parent
cd0da08952
commit
477538c898
@ -60,7 +60,7 @@ AppInfo(const char *title, string dir, u8* icon)
|
||||
|
||||
GuiImage * viewdevice = NULL;
|
||||
|
||||
if((Options.device_icon == 2 || Options.device_icon == 3) && Settings.device == "sd_usb")
|
||||
if((Options.device_icon == 2 || Options.device_icon == 3 || Options.device_icon == 5) && (Settings.device == "sd_usb" || Settings.device == "all"))
|
||||
{
|
||||
bool icon = false;
|
||||
if(strncmp(dir.c_str(), "sd", 2) == 0)
|
||||
@ -73,6 +73,11 @@ AppInfo(const char *title, string dir, u8* icon)
|
||||
viewdevice = new GuiImage(new GuiImageData(Theme.usb_inactive));
|
||||
icon = true;
|
||||
}
|
||||
else if(strncmp(dir.c_str(), "dvd", 3) == 0)
|
||||
{
|
||||
viewdevice = new GuiImage(new GuiImageData(Theme.dvd_inactive));
|
||||
icon = true;
|
||||
}
|
||||
|
||||
if(icon)
|
||||
{
|
||||
@ -260,7 +265,7 @@ AppInfo(const char *title, string dir, u8* icon)
|
||||
ResumeGui();
|
||||
|
||||
edit.ResetState();
|
||||
cancel.SetState(STATE_SELECTED);
|
||||
btn1.SetState(STATE_SELECTED);
|
||||
while(choice == -1)
|
||||
{
|
||||
usleep(100);
|
||||
|
5
updates
5
updates
@ -1,3 +1,8 @@
|
||||
//rev38:
|
||||
- in the app-info dialog pre-select the 'load' button, rather than
|
||||
the exit button (allows A+A on an app for quick-start)
|
||||
- in the app-info dialog the dvd-icon is now shown if necessary
|
||||
|
||||
//rev37:
|
||||
- improved update-mechanism:
|
||||
* copy the old boot.dol to prev.dol
|
||||
|
Loading…
Reference in New Issue
Block a user