From 8713945ee84f0f122c6b5c951b1a4aa524cdaa73 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 26 Aug 2012 11:04:23 +0200 Subject: [PATCH] remount SD-Gecko when either GCA, GCB or ALL devices are selected --- main/source/Prompts/prompt_device.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main/source/Prompts/prompt_device.cpp b/main/source/Prompts/prompt_device.cpp index cbf5531..75beb9e 100644 --- a/main/source/Prompts/prompt_device.cpp +++ b/main/source/Prompts/prompt_device.cpp @@ -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; }