mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-21 06:13:54 +00:00
Undo the disaster that was the patch to unicorn github issue #266 and fix it correctly. makes normal self-modifying code work.
This commit is contained in:
parent
236b6e9085
commit
97b10da133
9 changed files with 24 additions and 8 deletions
|
|
@ -240,6 +240,7 @@ struct uc_struct {
|
|||
int thumb; // thumb mode for ARM
|
||||
// full TCG cache leads to middle-block break in the last translation?
|
||||
bool block_full;
|
||||
int size_arg; // what tcg arg slot do we need to update with the size of the block?
|
||||
MemoryRegion **mapped_blocks;
|
||||
uint32_t mapped_block_count;
|
||||
uint32_t mapped_block_cache_index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue