From 2e824827b74898e0e6555c8bb61b237b09994f03 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Sun, 24 Mar 2024 20:05:10 +0200 Subject: [PATCH] Fixup Savestate Progress --- rpcs3/rpcs3qt/gui_application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/gui_application.cpp b/rpcs3/rpcs3qt/gui_application.cpp index fab1bb187f..16cd7b5a0b 100644 --- a/rpcs3/rpcs3qt/gui_application.cpp +++ b/rpcs3/rpcs3qt/gui_application.cpp @@ -688,7 +688,7 @@ void gui_application::InitializeCallbacks() { *half_seconds += 1; - const usz bytes_written = atomic_storage::load(ar_ptr->pos); + const usz bytes_written = ar_ptr->get_size(); pdlg->setLabelText(text_base.arg(*half_seconds / 2).arg(gui::utils::format_byte_size(bytes_written))); // 300MB -> 50%, 600MB -> 75%, 1200MB -> 87.5% etc