From f06aef4f8382d258e16bac2ea8a19aa48dda72a0 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Fri, 3 Apr 2026 23:50:59 +0100 Subject: Improve NAND import progress dialog Now with cancel button and an actual progress bar. For simplicity, we do two passes on the progress bar, one for loading the NAND into memory and one for extracting it. The user directory is likely on an SSD, making the extraction pass invisibly fast. --- Source/Android/jni/WiiUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Android') diff --git a/Source/Android/jni/WiiUtils.cpp b/Source/Android/jni/WiiUtils.cpp index 77ef3e3f7f..995f0d05b6 100644 --- a/Source/Android/jni/WiiUtils.cpp +++ b/Source/Android/jni/WiiUtils.cpp @@ -102,10 +102,10 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_utils_WiiUtils_importNANDB return DiscIO::NANDImporter().ImportNANDBin( path, - [] { - // This callback gets called every now and then in case we want to update the GUI. However, - // we have no way of knowing what the current progress is, so we can't do anything - // especially useful. DolphinQt chooses to show the elapsed time, for reference. + [](DiscIO::NANDImporter::Step, int, int) { + // This callback gets called every now and then in case we want to update the GUI. + // TODO + return false; }, [] { // This callback gets called if the NAND file does not have decryption keys appended to it. -- cgit v1.2.3