Commit d0bdf2a2 authored by ths's avatar ths
Browse files

Fix typo.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2941 c046a42c-6fe2-441c-8c8c-71466251a162
parent 9467d44c
......@@ -578,7 +578,7 @@ static inline void regs_to_env(void)
static inline int cpu_halted(CPUState *env) {
/* handle exit of HALTED state */
if (env->hflags & HF_HALTED_MASK)
if (!(env->hflags & HF_HALTED_MASK))
return 0;
/* disable halt condition */
if ((env->interrupt_request & CPU_INTERRUPT_HARD) &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment