From 4d594ad4dc0aba4695e019271c1b66959ecf2c43 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Wed, 18 Feb 2015 21:39:29 -0800 Subject: [PATCH] Update to latest ctrcommon. --- source/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index de76539..2e5700a 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -75,7 +75,9 @@ int main(int argc, char **argv) { App targetDelete; bool obtained = false; if(mode == INSTALL) { - obtained = ui_select_file(&targetInstall, "sdmc:", extensions, onLoop); + obtained = ui_select_file(&targetInstall, "sdmc:", extensions, [&](bool inRoot) { + return onLoop(); + }); } else if(mode == DELETE) { obtained = ui_select_app(&targetDelete, destination, onLoop); }