mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Fix ROP selector always redrawing, seek to beginning of file before retrying install.
This commit is contained in:
parent
93b49b20e8
commit
7ad8c86733
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user