mirror of
https://github.com/wiidev/usbloadergx.git
synced 2025-01-11 11:19:08 +01:00
*Fixed USB ReInit
*Moved SD Card Button a bit to the left.
This commit is contained in:
parent
6f22ffa6f4
commit
ad2eb5c182
File diff suppressed because one or more lines are too long
@ -306,7 +306,7 @@ void CFG_Default(int widescreen) // -1 = non forced Mode
|
|||||||
THEME.clock_x = 0;
|
THEME.clock_x = 0;
|
||||||
THEME.clock_y = 335;//330;
|
THEME.clock_y = 335;//330;
|
||||||
THEME.clockAlign = CFG_ALIGN_CENTRE;
|
THEME.clockAlign = CFG_ALIGN_CENTRE;
|
||||||
THEME.sdcard_x = 160;
|
THEME.sdcard_x = 150;
|
||||||
THEME.sdcard_y = 390;
|
THEME.sdcard_y = 390;
|
||||||
THEME.gameText_r = 0;
|
THEME.gameText_r = 0;
|
||||||
THEME.gameText_g = 0;
|
THEME.gameText_g = 0;
|
||||||
|
@ -159,6 +159,13 @@ int USBDevice_Init()
|
|||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
void USBDevice_ReInit()
|
||||||
|
{
|
||||||
|
__io_usbstorage.shutdown();
|
||||||
|
__io_wiiums.shutdown();
|
||||||
|
if(__io_usbstorage.startup()) return;
|
||||||
|
else __io_wiiums.startup();
|
||||||
|
}
|
||||||
|
|
||||||
void USBDevice_deInit()
|
void USBDevice_deInit()
|
||||||
{
|
{
|
||||||
|
@ -8,6 +8,7 @@ extern "C"
|
|||||||
|
|
||||||
int USBDevice_Init();
|
int USBDevice_Init();
|
||||||
void USBDevice_deInit();
|
void USBDevice_deInit();
|
||||||
|
void USBDevice_ReInit();
|
||||||
int isSdInserted();
|
int isSdInserted();
|
||||||
int isInserted(const char *path);
|
int isInserted(const char *path);
|
||||||
int SDCard_Init();
|
int SDCard_Init();
|
||||||
|
@ -677,7 +677,7 @@ static int MenuDiscList()
|
|||||||
|
|
||||||
else if(sdcardBtn.GetState() == STATE_CLICKED)
|
else if(sdcardBtn.GetState() == STATE_CLICKED)
|
||||||
{
|
{
|
||||||
USBDevice_Init()
|
USBDevice_ReInit();
|
||||||
SDCard_deInit();
|
SDCard_deInit();
|
||||||
SDCard_Init();
|
SDCard_Init();
|
||||||
if (Settings.gameDisplay==list){
|
if (Settings.gameDisplay==list){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user