Fix ROP selector always redrawing, seek to beginning of file before retrying install.

This commit is contained in:
Steven Smith 2015-12-01 16:55:22 -08:00
parent 93b49b20e8
commit 7ad8c86733

View File

@ -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;