summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/WatchView.cpp
AgeCommit message (Collapse)Author
2016-05-13Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)EmptyChaos
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).
2015-12-27DebuggerViews: Fixed nullptr dereferencesSepalani
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-24Fix wx bullshit which made the watch view assert on my machine.comex
1) Apparently wxString::Format is type safe, and passing a u32 to it with the format "%lu" crashes with a meaningless assertion failure. Sure, it's the wrong type, but the error sure doesn't help... 2) "A MenuItem ID of Zero does not work under Mac". Thanks for the helpful assert message, no thanks for making your construct have random platform-specific differences for no reason (it's not like menu item IDs directly correspond to a part of Cocoa's menu API like they do on Win32).
2015-04-15Debugger: Update the registers/watches before refreshing grids.Lioncash
2015-04-07Debugger: Fix memory leaks related to grid tablesLioncash
Incrementing the reference count here isn't necessary, as they construct with a count of 1. Incrementing again results in the attributes not being freed.
2015-03-24DolphinWX: Get rid of wxGrid-based casts in the debugger.Lioncash
This technically also fixes a memory leak in WatchView.cpp, because the table setting was done such that the grid wouldn't take ownership of the table, which means said table wouldn't be deleted in the grid's destructor.
2015-02-23DolphinWX: Make RAM watch strings translateableLioncash
2015-02-11Make address translation respect the CPU translation mode.magumagu
The PowerPC CPU has bits in MSR (DR and IR) which control whether addresses are translated. We should respect these instead of mixing physical addresses and translated addresses into the same address space. This is mostly mass-renaming calls to memory accesses APIs from places which expect address translation to use a different version from those which do not expect address translation. This does very little on its own, but it's the first step to a correct BAT implementation.
2014-11-15WatchView: Pass string by reference in SetWatchNameLioncash
2014-11-11DolphinWX: Eliminate some memory leaksLioncash
Since the menus aren't actually assigned a parent, they would not be freed by wx. Plus, these should have initially been constructed on the stack in the first place. Technically any time someone right-clicked the game list they would be leaking memory.
2014-11-07DolphinWX: Remove unnecessary forward declarationsLioncash
2014-11-05DolphinWX: Eliminate most usages of event tables in the debugger.Lioncash
Moves things over to Bind.
2014-10-31Fixed a warning in the add memcheck from Watch windowskidau
2014-10-28DolphinWX: Fix -Wsign-compare warnings.Rohit Nirmal
2014-10-26Fixed a crash that would occur if a new watch were added by entering a watch ↵skidau
name. Code style updates.
2014-10-26Added a new option to add memchecks from the Watch window.skidau
Fixed watch labels from being truncated at the first whitespace.
2014-10-26Added a "Delete watch" context menu to the Watch window.skidau
Added a "View memory" command to the context menu.
2014-10-26Added a RAM Watch window to the debuggerskidau
Conflicts: Source/Core/Core/HW/Memmap.cpp Source/Core/Core/HW/Memmap.h Source/Core/DolphinWX/Debugger/CodeWindow.h