mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-26 23:11:01 +00:00
Fix tests and compilation
This commit is contained in:
@@ -1046,19 +1046,11 @@ void windows_emulator::serialize(utils::buffer_serializer& buffer) const
|
||||
|
||||
void windows_emulator::deserialize(utils::buffer_deserializer& buffer)
|
||||
{
|
||||
buffer.register_factory<emulator_wrapper>([this]
|
||||
buffer.register_factory<x64_emulator_wrapper>([this]
|
||||
{
|
||||
return emulator_wrapper{
|
||||
.emu = &this->emu(),
|
||||
};
|
||||
return x64_emulator_wrapper{this->emu()};
|
||||
});
|
||||
|
||||
buffer.register_factory<emulator_thread>([this]
|
||||
{
|
||||
return emulator_thread(this->emu());
|
||||
});
|
||||
|
||||
|
||||
buffer.read(this->use_relative_time_);
|
||||
|
||||
this->emu().deserialize(buffer);
|
||||
|
||||
Reference in New Issue
Block a user