Fix regression: If invalid instruction is handled, allow emulation to continue
This commit is contained in:
@@ -359,6 +359,9 @@ static inline bool cpu_handle_exception(CPUState *cpu, int *ret)
|
||||
// we want to stop emulation
|
||||
*ret = EXCP_HLT;
|
||||
return true;
|
||||
} else {
|
||||
// Continue execution because user hints us it has been handled
|
||||
cpu->exception_index = -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user