Commit graph

2784 commits

Author SHA1 Message Date
Henrik Rydgård
961dce861d Fix interaction with the crash screen, oops 2024-12-10 01:43:44 +01:00
Henrik Rydgård
43af3128e0 Fix drag/drop crash 2024-12-10 01:03:05 +01:00
Henrik Rydgård
de3617529f const, rename a function 2024-12-10 01:01:31 +01:00
Henrik Rydgård
080798b5dd Move out two more functions from Core.cpp. Clean up Windows includes 2024-12-08 12:12:02 +01:00
Henrik Rydgård
2c8e78408b Add basic vertex data viewer (with the same flaws as the old one) 2024-12-06 09:29:12 +01:00
Henrik Rydgård
51ae6ce898 Small simplification 2024-12-05 10:55:19 +01:00
Henrik Rydgård
95b7db99ed Extract the vertex formatting code from the Windows GE Debugger 2024-12-05 10:47:49 +01:00
Henrik Rydgård
6d33408da6 Move the state tab definitions to GPU/Debugger 2024-12-05 10:13:25 +01:00
Henrik Rydgård
21997784bf Extract FormatStateRow() from the Win32 GE debugger to GPU/Debugger/Registers 2024-12-05 10:07:29 +01:00
Henrik Rydgård
474e7acf54 Hook up the new (bare-bones) ImGui debug window to GPU stepping, fix stepping. 2024-12-05 00:51:59 +01:00
Henrik Rydgård
11819e87cf PauseAction readbacks now work again 2024-12-05 00:36:49 +01:00
Henrik Rydgård
9ed8d8871e Ge stepping without wait: Tex/Prim stepping works. Draw/Single have issues. 2024-12-05 00:36:48 +01:00
Henrik Rydgård
ea43e07cce Move some stuff around, rename some stuff 2024-12-05 00:36:48 +01:00
Henrik Rydgård
3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård
0f97578a35 Replace a bad function 2024-12-03 20:33:12 +01:00
Henrik Rydgård
2b8414b437 Move irrelevant code out of Core.cpp 2024-12-02 13:26:41 +01:00
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Henrik Rydgård
3d960d23ea Avoid a couple of unnecessary Exists checks 2024-11-28 15:02:26 +01:00
Henrik Rydgård
4e9e767e41 Enable early logs on Windows (just stuff them in the thread queue) 2024-11-28 15:02:25 +01:00
Henrik Rydgård
8372105d66 Fix printscreen keyboard mapping (although kinda useless) 2024-11-25 23:40:51 +01:00
Henrik Rydgård
47d8e292eb ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System. 2024-11-25 23:03:15 +01:00
Henrik Rydgård
ddd9c43f94 Disable F11 fullscreen shortcut in imdebugger (collides with stepping) 2024-11-25 00:25:17 +01:00
Henrik Rydgård
3cba1135d5 Add basic breakpoint editing window. Need UI refinement 2024-11-25 00:23:28 +01:00
Henrik Rydgård
7992ff4627 Make CBreakpoints an object 2024-11-25 00:22:53 +01:00
Henrik Rydgård
c5eb600044 Add search functionality to disassembler 2024-11-23 23:23:52 +01:00
Henrik Rydgård
18240b3ed0 Don't full-screen-on-doubleclick if ImGui debugger is active 2024-11-12 12:20:47 +01:00
Henrik Rydgård
a8744f5992 Disable the native debugger when RetroAchievements hardcore mode is enabled 2024-11-10 19:19:03 +01:00
Henrik Rydgård
88a2994a4d Make some more ImGui debugger windows (modules, threads, callstack)
Funcionality is a bit limited though (no context menus yet)
2024-11-07 13:29:27 +01:00
Henrik Rydgård
2767fb1f9e Actually fix the black background in the win32 debugger 2024-11-07 12:55:53 +01:00
Henrik Rydgård
9c92978fcc ImGui debugger: assorted work 2024-11-07 11:10:16 +01:00
Henrik Rydgård
cf6d06c56a Start work on imdbg 2024-11-07 11:10:12 +01:00
Henrik Rydgård
dff7f5704a Implement mousewheel vertical scroll and hover in ImGui integration 2024-11-06 22:00:11 +01:00
Henrik Rydgård
36328d0ec4 Remove the separate lua vcxproj. Somehow cursed on the buildbot :/ 2024-11-06 20:18:05 +01:00
Henrik Rydgård
74aeb1c00a Attempt to fix the build after adding lua 2024-11-06 17:48:50 +01:00
Henrik Rydgård
2daca0fedf
Merge pull request #19589 from hrydgard/refactor-execution
Refactor execution: No longer freeze the "EmuThread" when paused in the debugger
2024-11-05 13:10:06 +01:00
Henrik Rydgård
3a5968ba33 Don't block the render thread while the CPU is paused. This is a prereq for imgui debuggers. 2024-11-05 12:53:21 +01:00
Henrik Rydgård
758faac445 Be more consistent about thread naming 2024-11-05 12:53:21 +01:00
Henrik Rydgård
f23ec1cf23 Initial build setup for including lua 2024-11-05 11:20:43 +01:00
Henrik Rydgård
c459d43f14
Merge pull request #19569 from hrydgard/imgui-integration
ImGui integration prototype
2024-11-05 10:18:30 +01:00
Henrik Rydgård
19f4b22a56 Cleanup, add right-click support to UI framework 2024-11-05 01:03:21 +01:00
Henrik Rydgård
785ce86f76 Apply that to breaking execution as well. 2024-11-03 17:54:55 +01:00
Henrik Rydgård
5598228462 Better notification mechanism to scroll the disasm window after step 2024-11-03 17:54:55 +01:00
Henrik Rydgård
3ba3b911b4 Add disasm event WM_DEB_AFTEREVENT 2024-11-03 17:54:54 +01:00
Henrik Rydgård
c851be26eb Decouple the last part of step() 2024-11-03 17:54:54 +01:00
Henrik Rydgård
828523165f Rework the step functions. 2024-11-03 17:54:54 +01:00
Henrik Rydgård
a730f01c53 Unify the step functions 2024-11-03 17:54:54 +01:00
Henrik Rydgård
73aba606e7 Harmonize the various step functions in the disasm window 2024-11-03 17:54:54 +01:00
Henrik Rydgård
69177f7fa6 Same with Step Out 2024-11-03 17:54:54 +01:00
Henrik Rydgård
251fc8d905 Same with Step Over 2024-11-03 17:54:54 +01:00
Henrik Rydgård
c787149472 Start moving the CPU debug-step logic to Core.cpp 2024-11-03 17:54:51 +01:00