remount SD-Gecko when either GCA, GCB or ALL devices are selected

This commit is contained in:
Christopher Roy Bratusek 2012-08-26 11:04:23 +02:00
parent 723e6ff023
commit 8713945ee8

View File

@ -3,6 +3,7 @@
#include "libwiigui/gui.h"
#include "main.h"
#include "Tools/fileop.h"
/*** Extern variables ***/
extern GuiWindow * mainWindow;
@ -167,18 +168,22 @@ int devicePrompt()
if(gca_Btn.GetState() == STATE_CLICKED)
{
device = 5;
GCA_Remount();
stop = true;
}
if(gcb_Btn.GetState() == STATE_CLICKED)
{
device = 6;
GCB_Remount();
stop = true;
}
if(all_Btn.GetState() == STATE_CLICKED)
{
device = 7;
GCA_Remount();
GCB_Remount();
stop = true;
}