Tweak search range when codegen looking for start uOP for given
instruction. Fixes range when unrolling LOOP instruction pointing to itself (which could skip initial cycle count update), fixes Windows 98 boot on 6x86 chips.
This commit is contained in:
parent
624f1cfcfc
commit
a01cc90866
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ int codegen_get_instruction_uop(codeblock_t *block, uint32_t pc, int *first_inst
|
|||
{
|
||||
int c;
|
||||
|
||||
for (c = 0; c < block->ins; c++)
|
||||
for (c = 0; c <= block->ins; c++)
|
||||
{
|
||||
if (codegen_instructions[c].pc == pc)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue