hrydgard/ppsspp — pull request #5838 by thedax (2014-04-11 18:20:04+00:00)
Title: Win32: Properly shutdown when using File->Exit, or when g_Config.bEscapeExitsEmulator is true.

We're not shutting down properly when either of these two are used, so let's send a WM_CLOSE to tell the program that we need to clean up (WM_CLOSE is where we handle stopping all threads and turning off RawInput, etc.).