From 7ad8c867336b46731100d7b70a0075bf869cfe64 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Tue, 1 Dec 2015 16:55:22 -0800 Subject: [PATCH] Fix ROP selector always redrawing, seek to beginning of file before retrying install. --- source/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/main.cpp b/source/main.cpp index beca451..326ec0b 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -165,6 +165,8 @@ void installROP() { stream << "< " << ropNames[selected] << " >" << "\n"; stream << "Press A to install, B to cancel."; uiDisplayMessage(gpu::SCREEN_TOP, stream.str()); + + dirty = false; } } } @@ -220,6 +222,8 @@ bool installCIA(fs::MediaType destination, const std::string path, int curr, int return false; } + fseek(fd, 0, SEEK_SET); + installInfo = batchInstallStream.str(); app::install(destination, fd, size, &onProgress); prevProgress = -1;