early-access version 2524

This commit is contained in:
pineappleEA
2022-03-01 03:16:42 +01:00
parent 93aa93977d
commit 165c5792cc
10 changed files with 47 additions and 8 deletions

View File

@@ -397,7 +397,8 @@ static void RunTestInstance(Dynarmic::A32::Jit& jit,
if (uni.GetRegisters()[15] > jit.Regs()[15]) {
const u32 final_pc = jit.Regs()[15];
if (final_pc >= initial_pc && final_pc < expected_end_pc) {
int trials = 0;
while (final_pc >= initial_pc && final_pc < expected_end_pc && trials++ < 100) {
fmt::print("Warning: Possible unicorn overrrun, attempt recovery\n");
jit.Step();
}