mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 19:53:56 +00:00
Preallocate unicorn translation buffer to 2gb
This commit is contained in:
@@ -242,6 +242,7 @@ namespace unicorn
|
||||
unicorn_x64_emulator()
|
||||
{
|
||||
uce(uc_open(UC_ARCH_X86, UC_MODE_64, &this->uc_));
|
||||
uce(uc_ctl_set_tcg_buffer_size(this->uc_, 2 << 30 /* 2 gb */));
|
||||
}
|
||||
|
||||
~unicorn_x64_emulator() override
|
||||
|
||||
Reference in New Issue
Block a user