From aaf776ddc9965d50a5382f1cc05638580cf74cbd Mon Sep 17 00:00:00 2001 From: Eladash <18193363+elad335@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:45:23 +0200 Subject: [PATCH] Fixup Firmware install --- rpcs3/rpcs3qt/main_window.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 9a1abe763a..2028716a48 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -1535,10 +1535,7 @@ void main_window::HandlePupInstallation(const QString& file_path, const QString& if (update_file_stream->m_file_handler) { // Forcefully read all the data - update_file_stream->pop(); - update_file_stream->pos = umax; - update_file_stream->pos /= 2; // Avoid internal overflows - update_file_stream->m_file_handler->handle_file_op(*update_file_stream, update_file_stream->pos, 1, nullptr); + update_file_stream->m_file_handler->handle_file_op(*update_file_stream, 0, update_file_stream->get_size(umax), nullptr); } fs::file update_file = fs::make_stream(std::move(update_file_stream->data));