Skip to content

Commit 6edbae1

Browse files
authored
Update CPUThread.cpp
1 parent 49bc0b7 commit 6edbae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpcs3/Emu/CPU/CPUThread.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,9 @@ bool cpu_thread::check_state() noexcept
773773
store = true;
774774
}
775775

776-
if (::is_stopped(flags) && !(flags & cpu_flag::wait))
776+
if (::is_stopped(flags) == !(flags & cpu_flag::wait))
777777
{
778-
flags += cpu_flag::wait;
778+
flags ^= cpu_flag::wait;
779779
store = true;
780780
}
781781

0 commit comments

Comments
 (0)