hrydgard/ppsspp — pull request #5987 by unknownbrackets (2014-04-29 05:25:30+00:00)
Title: Fix another race condition.

If EVENT_FINISH is received, but coreState is still CORE_RUNNING and the thread is still enabled, it would hang. Makes more sense to wait for events before processing them anyhow...

-[Unknown]