mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 23:45:12 +00:00
Savestates: Fixup file write
This commit is contained in:
parent
0fcb0b7d8e
commit
91a54c11eb
3 changed files with 11 additions and 8 deletions
|
|
@ -740,7 +740,7 @@ void gui_application::InitializeCallbacks()
|
|||
verbose_message = "\n" + *str_ptr;
|
||||
}
|
||||
|
||||
bytes_written = std::max<usz>(ar_ptr->get_size(), old_written);
|
||||
bytes_written = ar_ptr->is_writing() ? std::max<usz>(ar_ptr->get_size(), old_written) : old_written;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue