mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
Fixup Firmware install
This commit is contained in:
parent
79465334fe
commit
aaf776ddc9
@ -1535,10 +1535,7 @@ void main_window::HandlePupInstallation(const QString& file_path, const QString&
|
|||||||
if (update_file_stream->m_file_handler)
|
if (update_file_stream->m_file_handler)
|
||||||
{
|
{
|
||||||
// Forcefully read all the data
|
// Forcefully read all the data
|
||||||
update_file_stream->pop<char>();
|
update_file_stream->m_file_handler->handle_file_op(*update_file_stream, 0, update_file_stream->get_size(umax), nullptr);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fs::file update_file = fs::make_stream(std::move(update_file_stream->data));
|
fs::file update_file = fs::make_stream(std::move(update_file_stream->data));
|
||||||
|
Loading…
Reference in New Issue
Block a user