6d0cab3743
DolphinQt2/MemoryWidget: Use QString's toUtf8() where applicable instead of toStdString()
...
Avoids needing to iterate and append the characters in one case. This also
alters the function to not need to construct a temporary std::string
(QString's toUtf8() is sufficient, as QByteArray exposes iterators).
toStdString() is equivalent to retrieving the QString's underlying
QByteArray via calling QString's .toUtf8 member function and then
calling .toStdString() on the result of it (discarding the QByteArray
afterwords), so this just trims off an unnecessary step in the process.
This is also somewhat more indicative of the conversions going on:
toStdString() converts the underlying character sequence of a
QString to UTF-8, not strict ASCII, so we're really using a superset of
ASCII.
2018-05-10 22:10:45 -04:00
cb5926c1ca
PowerPC: Make the PowerPCState's fpscr member variable a UReg_FPSCR instance
...
Gets rid of the need to cast the actual member to access information without bit shifts and masking.
2018-05-06 18:46:52 -04:00
76b031184c
Merge pull request #6341 from sepalani/debug-watches
...
DebugInterface: Watches methods added
2018-05-06 13:25:26 +02:00
3f087e2ed5
Merge pull request #6760 from lioncash/msr
...
PowerPC: Make the PowerPCState's msr member variable a UReg_MSR instance
2018-05-06 12:02:39 +02:00
31389bab0a
DolphinQt/MemoryWidget: Fix dead condition in FindValue()
...
This condition is already checked earlier in the function and exits out
if it's satisfied, meaning it'll never reach this check further down.
2018-05-05 20:44:38 -04:00
ffcf107dd2
PowerPC: Make the PowerPCState's msr member variable a UReg_MSR instance
...
Gets rid of the need to construct UReg_MSR values around the the actual
member in order to query information from it (without using shifts and
masks). This makes it more concise in some areas, while helping with
readability in some other places (such as copying the ILE bit to the LE
bit in the exception checking functions).
2018-05-05 17:59:30 -04:00
74d4a4478f
DebugInterface: Watches methods added
...
Move Watches to Common
2018-04-28 17:46:51 +04:00
b46bf9b736
Qt/Debugger: Change CodeView background colors to bright ones
2018-04-28 16:53:04 +09:00
41844c1cc5
Qt/Debugger: Change the row height to same as code/memory widget
2018-04-23 00:52:31 +09:00
32f6d3f62b
Qt: Use HostRead for float and double
2018-04-23 00:46:42 +09:00
264c995b0d
Qt: Make toolbar more dynamic
2018-04-20 22:44:49 +02:00
d230194464
Merge pull request #6657 from leoetlino/dedup
...
Qt/Debugger: Deduplicate memory view update code
2018-04-17 10:21:53 -04:00
69ad94997c
Qt/Debugger: Don't pause when already paused
...
Fixes a severe performance issue which would cause the UI to use tons
of CPU time and fail to update when scrolling with a breakpoint on PC.
2018-04-17 14:21:18 +02:00
6c87817d9c
Qt/Debugger: Deduplicate memory view update code
...
The structure and address calculation were identical.
Only the string generation was different.
2018-04-16 22:36:32 +02:00
0efbaebe17
Minor fixes to translatable strings
...
The usual deduplication between DolphinWX and DolphinQt2, plus the removal
of a now unused ubershader string and a fix for the Euphoria i18n comment.
2018-04-16 19:08:58 +02:00
1401fbc71a
Qt/Debugger: correctly set the MBP attributes when adding
...
Not setting the end address causes the GetMecheck function to never think a matching address MBP exists.
2018-04-14 17:05:23 -04:00
a12d4996ed
Qt: Use new debugger icons
2018-04-13 20:40:41 +02:00
40bb9974f2
Reformat all the things!
2018-04-12 21:28:39 +02:00
9be505fde2
Merge pull request #6473 from spycrab/qt_dbg_memory
...
Qt/Debugger: Implement "Memory" widget
2018-04-04 16:58:04 +02:00
95ae4b34d9
Qt/Debugger: Implement "Memory" widget
2018-04-04 13:43:30 +02:00
b637163704
CodeWidget: Remove unnecessary c_str() calls
2018-03-27 22:46:51 -04:00
22d851d930
Merge pull request #6500 from spycrab/qt_respect_portable
...
Qt: Make QSettings use the user config directory (Make it respect portable.txt)
2018-03-23 17:25:28 +01:00
68733ac6c1
Qt: Make QSettings use the user config directory
2018-03-23 12:50:01 +01:00
4c97deb364
PowerPC: Namespace all header contents for PowerPC.h
...
Puts everything under the same namespace. Previously the header was only
partially namespaced, which is inconsistent.
2018-03-22 19:01:47 -04:00
8ead5be9f2
Qt: Fix fullscreen
2018-03-21 22:57:16 +01:00
0a5f0efe18
Qt/Debugger: Implement "Code" widget
2018-02-28 19:47:56 +01:00
2f7b68ade5
Qt/BreakpointWidget: Fix MBP delete
2018-02-06 11:06:14 +01:00
8f43f379a0
Qt/NewBreakpointDialog: Fix radio button weirdness
2018-01-31 19:28:44 +01:00
d0b64745d8
Qt/RegisterColumn: Fix value columns not being editable
2018-01-28 17:10:33 +01:00
04b9310bb6
Tweak Qt debugger strings to be more translation friendly
2018-01-21 16:33:46 +01:00
025d9383ac
Use double instead of float for FPRs
2018-01-13 19:33:11 +09:00
b6138b9408
Fix 64bit registers that are not displayed correctly
2018-01-13 16:21:32 +09:00
5cff714b77
Qt/Debugger: Add TB, XER and GQRs to Registers Window
2018-01-09 18:09:01 +09:00
b63ec57c1e
Qt: Connect debugging widgets
2017-12-28 19:08:38 +01:00
8795b342d1
Qt/Debugger: Implement "Breakpoints" window
2017-12-28 19:08:38 +01:00
08716be43b
Qt/Debugger: Implement "Watch" window
2017-12-28 19:07:56 +01:00
ec37ce093f
Qt/Debugger: Implement "Registers" window
2017-12-28 19:07:18 +01:00