mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Fix deserialization of optional WOW64 emulator_object members (PEB32/params32)
This commit is contained in:
@@ -481,6 +481,15 @@ void process_context::deserialize(utils::buffer_deserializer& buffer)
|
||||
buffer.read_optional(this->process_params32);
|
||||
buffer.read(this->kusd);
|
||||
|
||||
if (this->peb32.has_value())
|
||||
{
|
||||
this->peb32->set_memory_interface(*this->peb64.get_memory_interface());
|
||||
}
|
||||
if (this->process_params32.has_value())
|
||||
{
|
||||
this->process_params32->set_memory_interface(*this->peb64.get_memory_interface());
|
||||
}
|
||||
|
||||
buffer.read(this->is_wow64_process);
|
||||
buffer.read(this->ntdll_image_base);
|
||||
buffer.read(this->ldr_initialize_thunk);
|
||||
|
||||
Reference in New Issue
Block a user