Move dynarec code memory out of codeblock structure.
This commit is contained in:
parent
356f406b22
commit
d63176e472
8 changed files with 51 additions and 26 deletions
|
|
@ -96,7 +96,10 @@ void codegen_reset()
|
|||
mem_reset_page_blocks();
|
||||
|
||||
for (c = 0; c < BLOCK_SIZE; c++)
|
||||
{
|
||||
codeblock[c].pc = BLOCK_PC_INVALID;
|
||||
codeblock[c].data = &codeblock_data[c * BLOCK_DATA_SIZE];
|
||||
}
|
||||
}
|
||||
|
||||
void dump_block()
|
||||
|
|
|
|||
Loading…
Reference in a new issue