dolphin/Source/Core
comex ba664b3293 Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before.
Core::Shutdown was only called on app exit, yet the emu thread exits
whenever emulation stops; if you launched a new game it would just join
via the destructor when s_emu_thread was set to a new thread.
(Incidentally, the destructor also makes explicitly joining on app exit
rather pointless.)

Because the GUI thread wasn't waiting for the CPU thread to fully shut
down, Core::IsRunning would remain true briefly after CFrame::DoStop
which, given Dolphin's penchant for accessing variables belonging to
other threads, can only mean trouble... In my case, because the previous
commit caused UpdateGUI, which is called at the end of DoStop, to call
PauseAndLock, which checks IsRunning, pressing stop at the right time
would cause strange behavior.
2015-04-13 02:17:38 -04:00
..
AudioCommon Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
Common Common: Remove TLS usage in GetLastErrorMsg 2015-04-07 22:42:21 +02:00
Core Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before. 2015-04-13 02:17:38 -04:00
DiscIO Move down Country_World 2015-04-08 18:55:16 -04:00
DolphinQt Move down Country_World 2015-04-08 18:55:16 -04:00
DolphinWX Join the emu thread in Core::Stop. Get rid of Core::Shutdown which did that before. 2015-04-13 02:17:38 -04:00
InputCommon Revert "Merge pull request #2256 from RachelBryk/Dolphin-Pro" 2015-04-01 22:30:57 +02:00
UICommon Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
VideoBackends Fifo: rewrite sync on idle skipping hack 2015-04-06 12:35:35 +02:00
VideoCommon Fifo: rewrite Fifo_PauseAndLock 2015-04-06 12:35:35 +02:00
CMakeLists.txt Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00