mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 07:55:35 +00:00
serialzation.hpp: Fix add_padding
This commit is contained in:
parent
a5ba96e991
commit
0cc655074d
5 changed files with 14 additions and 13 deletions
|
|
@ -1749,8 +1749,7 @@ namespace vm
|
|||
if (is_memory_compatible_for_copy_from_executable_optimization(addr, shm.first))
|
||||
{
|
||||
// Revert changes
|
||||
ar.data.resize(ar.data.size() - (sizeof(u32) * 2 + sizeof(memory_page)));
|
||||
ar.seek_end();
|
||||
ar.trunc(sizeof(u32) * 2 + sizeof(memory_page));
|
||||
vm_log.success("Removed memory block matching the memory of the executable from savestate. (addr=0x%x, size=0x%x)", addr, shm.first);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue