Add timeMsg Function.

This commit is contained in:
VoltZ
2019-11-09 01:47:55 +01:00
parent 27a393217d
commit 292a980041
3 changed files with 19 additions and 0 deletions
+7
View File
@@ -673,4 +673,11 @@ void download::extractFileList(std::string file, std::string input, std::string
Threads::create((ThreadFunc)displayProgressBar);
extractArchive(file, input, output);
showProgressBar = false;
}
void download::displayTimeMsg(std::string message, int seconds) {
DisplayMsg(message);
for (int i = 0; i < 60*seconds; i++) {
gspWaitForVBlank();
}
}