diff --git a/rpcs3/Emu/system_progress.cpp b/rpcs3/Emu/system_progress.cpp index 666c34a4e9..2847e9ae3b 100644 --- a/rpcs3/Emu/system_progress.cpp +++ b/rpcs3/Emu/system_progress.cpp @@ -201,7 +201,7 @@ void progress_dialog_server::operator()() if (pdone < ptotal && g_cfg.misc.show_ppu_compilation_hint) { const u64 passed_usec = (get_system_time() - start_time); - const u64 remaining_usec = pdone ? utils::rational_mul(passed_usec, pdone, static_cast(ptotal) - pdone) : (passed_usec * ptotal); + const u64 remaining_usec = pdone ? utils::rational_mul(passed_usec, static_cast(ptotal) - pdone, pdone) : (passed_usec * ptotal); // Only show compile notification if we estimate at least 100ms if (remaining_usec >= 100'000ULL)