Compare commits

...

2 Commits

Author SHA1 Message Date
TheTechnician27
5798cd7176 Qt: End memcard conversion progress at 100% instead of 99% 2025-02-12 17:40:17 -05:00
JordanTheToaster
5c25637381 GameDB: Knights of the Temple 2 fixes 2025-02-12 17:39:56 -05:00
2 changed files with 6 additions and 1 deletions

View File

@@ -23209,6 +23209,9 @@ SLES-53645:
name: "Knights of the Temple II"
region: "PAL-M5"
compat: 5
gsHWFixes:
recommendedBlendingLevel: 3 # Improves shadow quality.
autoFlush: 1 # Fixes light leaking and fire bloom intensity.
SLES-53646:
name: "World Racing 2"
region: "PAL-M5"

View File

@@ -121,7 +121,7 @@ bool MemoryCardConvertWorker::ConvertToFolder(const std::string& srcFileName, co
// Set progress bar to the literal number of bytes in the memcard.
// Plus two because there is a lag period after the Save calls complete
// where the progress bar stalls out; this lets us stop the progress bar
// just shy of 50 and 100% so it seems like its still doing some work.
// just shy of 50 and 100% so it seems like it's still doing some work.
this->SetProgressRange((sourceBuffer.size() * 2) + 2);
this->SetProgressValue(0);
@@ -161,5 +161,7 @@ bool MemoryCardConvertWorker::ConvertToFolder(const std::string& srcFileName, co
this->IncrementProgressValue();
}
this->IncrementProgressValue();
return true;
}