dolphin/Source/Core/DolphinWX/Debugger
EmptyChaos c1922783f8 Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)
Fix Frame Advance and FifoPlayer pause/unpause/stop.

CPU::EnableStepping is not atomic but is called from multiple threads
which races and leaves the system in a random state; also instruction
stepping was unstable, m_StepEvent had an almost random value because
of the dual purpose it served which could cause races where CPU::Run
would SingleStep when it was supposed to be sleeping.

FifoPlayer never FinishStateMove()d which was causing it to deadlock.
Rather than partially reimplementing CPU::Run, just use CPUCoreBase
and then call CPU::Run(). More DRY and less likely to have weird bugs
specific to the player (i.e the previous freezing on pause/stop).

Refactor PowerPC::state into CPU since it manages the state of the
CPU Thread which is controlled by CPU, not PowerPC. This simplifies
the architecture somewhat and eliminates races that can be caused by
calling PowerPC state functions directly instead of using CPU's
(because they bypassed the EnableStepping lock).
2016-05-13 09:23:44 +10:00
..
BreakpointDlg.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BreakpointDlg.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BreakpointView.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BreakpointView.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BreakpointWindow.cpp DolphinWX: Stop using XPM images 2016-01-05 19:11:58 +01:00
BreakpointWindow.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CodeView.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CodeView.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CodeWindow.cpp Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer) 2016-05-13 09:23:44 +10:00
CodeWindow.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
CodeWindowFunctions.cpp Mark more strings for translation 2015-11-20 11:33:47 +01:00
DSPDebugWindow.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DSPDebugWindow.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DSPRegisterView.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DSPRegisterView.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DebuggerPanel.cpp VideoCommon: rename TextureCache to TextureCacheBase 2015-11-06 15:43:58 +01:00
DebuggerPanel.h Debugger: fix -Wunused-private-field warning 2015-09-12 10:01:26 +02:00
DebuggerUIUtil.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DebuggerUIUtil.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
JitWindow.cpp Remove ARMv7 support. 2015-06-07 22:44:13 -05:00
JitWindow.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
MemoryCheckDlg.cpp MemoryCheckDlg: Fix event buttons 2015-10-23 20:37:29 +02:00
MemoryCheckDlg.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
MemoryView.cpp DebuggerViews: Fixed nullptr dereferences 2015-12-27 19:57:58 +04:00
MemoryView.h DolphinWX: Get rid of some magic numbers in MemoryView and MemoryWindow 2015-07-09 07:59:34 -04:00
MemoryWindow.cpp MemoryWindow: Adjust control alignment 2015-09-26 22:46:57 -04:00
MemoryWindow.h MemoryWindow: Change the address search wxTextCtrl into a wxSearchCtrl 2015-09-26 22:46:53 -04:00
RegisterView.cpp RegisterView: View code menu added 2015-12-28 22:41:24 +04:00
RegisterView.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
RegisterWindow.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
RegisterWindow.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
WatchView.cpp Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer) 2016-05-13 09:23:44 +10:00
WatchView.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
WatchWindow.cpp DolphinWX: Stop using XPM images 2016-01-05 19:11:58 +01:00
WatchWindow.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00