Commit graph

44 commits

Author SHA1 Message Date
Henrik Rydgård
02eb10649d Improve checks 2023-12-18 09:12:44 +01:00
Henrik Rydgård
b2729507a1 Assorted debugger-related fixes
Also fixes issue where the rewind machinery would run even during pause.
2023-12-18 00:21:53 +01:00
Nemoumbra
a4fe83ea20 Stop some UI elements from opening when the game's not loaded 2023-12-14 01:40:46 +03:00
oltolm
96a30ffb49 CtrlDisplayListView: fix ASAN eror 2023-12-10 16:32:18 +01:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
0b30b723bb GE Debugger: Add address breakpoint conditions. 2022-09-05 17:33:54 -07:00
Unknown W. Brackets
f595299fe5 GE Debugger: Allow expressions for goto address. 2022-09-05 17:33:54 -07:00
Unknown W. Brackets
2a4443b85e GE Debugger: Cleanup duplicate dlist redraws.
It's still not redrawing properly on resize, but it tries to...
2022-08-14 11:26:37 -07:00
Unknown W. Brackets
6272f3e1d6 GE Debugger: Actually allow swapping tabs. 2022-08-14 10:57:31 -07:00
Henrik Rydgård
60b2b1db5f Move the display list view to its own column on the right 2022-08-14 11:26:51 +02:00
Henrik Rydgård
5993864d8f Add plain Create method to CtrlDisplayListView 2022-08-14 11:15:07 +02:00
Unknown W. Brackets
39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00
Unknown W. Brackets
58238abef5 Debugger: Fix submenu offsets from removing unused.
The wrong menus were showing in several places, especially the GE
debugger.
2021-10-07 07:04:33 -07:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
47b3384647 Windows: Fix some const type conversion warnings. 2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d Windows: Fix improper case or missing includes.
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
6ac9dfe6b5 Windows debugger: Clean out old remains of multi-cpu support 2020-09-24 00:32:52 +02:00
Henrik Rydgård
6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Unknown W. Brackets
ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård
05bdf8abbf Windows GEDebugger: Make display list view DPI-aware for easier debugging on high-dpi screens 2017-02-12 14:11:14 +01:00
Unknown W. Brackets
34358fb907 Use an explicit Unicode reference.
This should be less likely of triggering weird issues with Visual Studio.
2016-08-07 18:02:10 -07:00
Henrik Rydgard
cde585a29a Include dependency cleanup 2015-07-29 11:48:20 +02:00
Henrik Rydgard
d3018c1787 Windows: Enable ASLR (had to fix a few pointer truncations) 2015-07-15 20:02:42 +02:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Unknown W. Brackets
5d313d1af4 Fix crash in GE debugger when game quit.
Fixes #6856.
2014-09-07 20:38:51 -07:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Kingcom
0e61913839 Remove redundant != 0 checks 2013-11-05 11:34:53 +01:00
Kingcom
a972b5d0dc Correct use of GetAsyncKeyState 2013-11-05 11:29:55 +01:00
Unknown W. Brackets
c8d2c45590 Move GE debugger breakpoints out of Windows/ code. 2013-10-12 10:03:28 -07:00
Unknown W. Brackets
0c03dc2dec Handle it better when viewing an invalid addr. 2013-10-06 22:17:52 -07:00
Unknown W. Brackets
1cd9f01358 Add a quick way to go to a particular address. 2013-10-06 22:17:51 -07:00
Kingcom
524fd29716 Add range selection 2013-10-02 08:51:21 +02:00
Kingcom
f388697f88 Right click menu for CtrlDisplayListView 2013-10-02 00:41:37 +02:00
Peter Tissen
edfec927f4 included <algorithm> to make sure all compilers find std::max with no errors 2013-10-01 17:00:51 +02:00
Kingcom
6c3a0643ca Toggle with space 2013-10-01 12:08:48 +02:00
Kingcom
5effea670a Toggle display list breakpoints 2013-10-01 12:05:19 +02:00
Kingcom
513223ea4f -Step through display list with F10/F11
-accelerator changes
2013-09-28 14:34:08 +02:00
Kingcom
94b04d7326 Highlight stall address with a red background 2013-09-26 12:31:58 +02:00
Kingcom
124b11f29d Highlight stall address 2013-09-26 10:24:41 +02:00
Kingcom
98f4273dcc Simple display list view 2013-09-25 15:24:53 +02:00