| Age | Commit message (Collapse) | Author |
|
|
|
This cleans up some of the code between core and UI for disassembling and dumping code blocks.
Should help the QT UI in bringing up its debug UI since it won't have to deal with this garbage now.
|
|
|
|
|
|
Technically the fallthrough would never happen, as the row numbers correspond to the grid view (which will always be zero or greater). However, it gets rid of compiler warnings on higher warning levels.
|
|
HostDisassemblerLLVM has a destructor, but the class uses a pointer to the base class.
|
|
|
|
These are all fully defined
|
|
Some classes expose things that aren't used outside of them (and in some cases, shouldn't be exposed).
|
|
|
|
On OS X, this broke Cmd-V to paste in the text boxes. Apparently wx
thinks having mnemonics (which are Alt-* on Windows) be Cmd-* on OS X,
even if this disables standard shortcuts, is a good idea.
Lioncash suggested just getting rid of the accelerators on non-menu
controls, so I'm doing that rather than disabling them only on OS X.
|
|
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).
|
|
|
|
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.
|
|
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.
|
|
via the Add Panes menu.
|
|
The AUI manager already has the grid in place. Setting the sizer isn't needed.
|
|
DolphinWX: Remove unnecessary control IDs
|
|
DolphinWX: Relocate the address search into the code window
|
|
It's only function is in this pane. Leaving it on the main application toolbar not only looks gross, but subverts what a user might think it applies to.
|
|
DolphinWX: Use AUI in the code window.
|
|
Allows for resizing of the callstack, function call/callers windows etc.
First step in slightly improving the code window.
|
|
These don't need to be specifically identified.
|
|
|
|
DSPDebugWindow: Fix issue where the DSPLLE window would hang Dolphin on OSX
|
|
|
|
|
|
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.
|
|
|
|
There are a couple things in this PR.
Fixes a bug where if we hit an invalid instruction we would infinite loop.
Fixes an issue where on AArch64 it would show invalid instructions for all NEON instructions.
This was due to asimd and crc being optional extensions and LLVM not enabling them by default.
So we have to specify a CPU which has the feature. LLVM 3.6 will let us select by features instead of CPUs, but we don't have a release of that quite
yet.
If we are on an architecture that has a known instruction size, we will continue onward after hitting the invalid instruction. If we don't have a
known instruction size like on x86, we will instead just dump the rest of the block.
|
|
|
|
Fix many bugs with the Symbols menu (when run with -d argument).
|
|
visual studio.
I accidentally committed my addition of the -d option that I used for testing, now it's fixed.
|
|
|
|
|
|
Currently it is very simple and naive, but filters out most of the bad matches.
|
|
The Symbols menu is now fully useable.
|
|
|
|
|
|
stack allocation only works with the root menu. Any other children must be
heap allocated.
These however, will be freed by wxWidgets.
|
|
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.
|
|
Also fixes some of the wonky stuff in Main where we would fire an event to do post-init stuff which isn't necessary anymore.
|
|
|
|
Moves things over to Bind.
|
|
They point to the same contents, so there's no reason to use the
mirror. This lets us make all the mirrors static.
|
|
|
|
|
|
|
|
name.
Code style updates.
|
|
Fixed watch labels from being truncated at the first whitespace.
|