Merge pull request #16489 from mjunix/small-fixes

Small fixes
This commit is contained in:
Unknown W. Brackets 2022-12-03 07:03:10 -08:00 committed by GitHub
commit 7c16c4dbb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ bool ThreadManager::TeardownTask(Task *task, bool enqueue) {
if (task->Type() == TaskType::CPU_COMPUTE) {
global_->compute_queue.push_back(task);
global_->compute_queue_size++;
} else if (task->Type() == TaskType::CPU_COMPUTE) {
} else if (task->Type() == TaskType::IO_BLOCKING) {
global_->io_queue.push_back(task);
global_->io_queue_size++;
} else {

View File

@ -652,7 +652,7 @@ bool GameManager::InstallMemstickZip(struct zip *z, const Path &zipfile, const P
if (fwrite(buffer, readSize, 1, outf) != 1)
break;
bytesCopied += readSize;
installProgress_ = (float)allBytes / (float)allBytes;
installProgress_ = (float)bytesCopied / (float)allBytes;
}
delete[] buffer;

View File

@ -485,7 +485,7 @@ void ReportFinishScreen::ShowSuggestions() {
const char *suggestion = nullptr;
if (item == "Upgrade") {
suggestion = rp->T("SuggestionUpgrade", "Upgrade to a newer PPSSPP build");
} if (item == "Downgrade") {
} else if (item == "Downgrade") {
suggestion = rp->T("SuggestionDowngrade", "Downgrade to an older PPSSPP version (please report this bug)");
} else if (item == "VerifyDisc") {
suggestion = rp->T("SuggestionVerifyDisc", "Check your ISO is a good copy of your disc");