mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 18:00:48 +01:00
Merge pull request #2762 from Sonicadvance1/FEXRootFSFetcherPercent
FEXRootFSFetcher: Make verification percent easier to read
This commit is contained in:
1 file changed
+2
-2
@@ -57,8 +57,8 @@ namespace XXFileHash {
|
||||
}
|
||||
auto Cur = std::chrono::high_resolution_clock::now();
|
||||
auto Dur = Cur - Now;
|
||||
if (Dur >= std::chrono::seconds(5)) {
|
||||
fmt::print("{}% hashed\n", (double)CurrentOffset / SizeD);
|
||||
if (Dur >= std::chrono::seconds(1)) {
|
||||
fmt::print("{:.2}% hashed\n", (double)CurrentOffset / SizeD * 100.0);
|
||||
Now = Cur;
|
||||
}
|
||||
CurrentOffset += Result;
|
||||
|
||||
Reference in new issue
Block a user