Skip to content

Commit 8e96a34

Browse files
committed
[DYNAREC] Validate alt block so it can be used
1 parent 38d64ba commit 8e96a34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/dynarec/dynablock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ dynablock_t* CreateDBnoAlt(x64emu_t* emu, uintptr_t addr, int is32bits)
260260

261261
dynarec_log(LOG_DEBUG, "Will call Fillblock64 for Alt %p\n", (void*)addr);
262262
dynablock_t* block = FillBlock64(addr, is32bits, MAX_INSTS, 0, 1);
263+
if(block && block->block) block->done = 1; // validate the alt block
263264

264265
mutex_unlock(&my_context->mutex_dyndump);
265266

0 commit comments

Comments
 (0)