mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-04 14:07:42 +00:00
cache the last entry of mapped blocks in memory_mapping() for better performance
This commit is contained in:
parent
fabbc0f4dc
commit
d506b900eb
2 changed files with 11 additions and 1 deletions
|
|
@ -175,6 +175,7 @@ struct uc_struct {
|
|||
bool block_full;
|
||||
MemoryRegion **mapped_blocks;
|
||||
uint32_t mapped_block_count;
|
||||
uint32_t mapped_block_cache_index;
|
||||
void *qemu_thread_data; // to support cross compile to Windows (qemu-thread-win32.c)
|
||||
uint32_t target_page_size;
|
||||
uint32_t target_page_align;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue