diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2026-04-03 23:50:59 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2026-04-04 22:02:45 +0100 |
| commit | f06aef4f8382d258e16bac2ea8a19aa48dda72a0 (patch) | |
| tree | 5d77788051f47d2259fafa57736deb0725598f92 /Source/Android | |
| parent | 2b6ca9214617e39031536cd70df26d602160670a (diff) | |
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.
Diffstat (limited to 'Source/Android')
| -rw-r--r-- | Source/Android/jni/WiiUtils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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. |
