Commit graph

2763 commits

Author SHA1 Message Date
Henrik Rydgård
7a0ec74c32
Merge pull request #19855 from oltolm/cmake
make compile with Clang/GCC on Windows
2025-01-17 15:13:52 +01:00
Henrik Rydgård
f66ea2f63e Add a bunch of restrictions when online (no savestate, no speed control) 2025-01-13 19:33:48 +01:00
oltolm
9566065455 make compile on mingw-w64 2025-01-11 01:25:27 +01:00
oltolm
b11b8b91bb cmake: fix mingw-w64 build 2025-01-10 21:27:12 +01:00
Henrik Rydgård
23954f5403 Implement the disassembly mode too 2025-01-09 13:35:29 +01:00
Henrik Rydgård
c91169e702 Restore removed <algorithm> includes.
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
4dd3621fa0 Remove some unnecessary <algorithm> includes. 2024-12-18 17:04:27 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
ee297e974d Move more code into SoftwareTransformCommon, cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
e74101a2fb applySkinInDecode belongs in the VertexTypeID, not in the options. 2024-12-17 18:24:18 +01:00
Henrik Rydgård
db13c09c41 Add break-on-count (with rudimentary UI), break on block transfer 2024-12-17 11:24:07 +01:00
Henrik Rydgård
dda3ddf6b0 Simplifications 2024-12-15 16:09:42 +01:00
Henrik Rydgård
54d18bb343 Lift some more debugging functionality into GPUCommon 2024-12-15 14:03:05 +01:00
Henrik Rydgård
4223bcfae1 Move the ownership of GPU breakpoints to GPUCommon 2024-12-15 12:51:37 +01:00
Henrik Rydgård
638607d29a Refactor: Make GPUCommon own the framedump "recorder". 2024-12-15 12:07:44 +01:00
Henrik Rydgård
9e019ae246 Remove the notion of the GPU debugger being "Active". Now it's automatic. 2024-12-15 11:12:53 +01:00
Henrik Rydgård
8cc77c0997 ImGui: Implement cursor support on Windows 2024-12-13 22:06:59 +01:00
Henrik Rydgård
5aeef924d2 Implement vertex preview in the new Ge debugger 2024-12-12 23:36:29 +01:00
Henrik Rydgård
8d1fbe9522 Move more utility functions from the Win32 GE debugger to the common code 2024-12-12 19:36:55 +01:00
Henrik Rydgård
4020fd8ec5 Move the last of the vertex preview code to State.cpp 2024-12-12 19:26:33 +01:00
Henrik Rydgård
4b36664dd6 Move more things to State.cpp/h, break out some stuff into a function 2024-12-12 19:26:33 +01:00
Henrik Rydgård
597be1c9bc Stop pretending that DisassemblyManager isn't a singleton - it currently is. 2024-12-12 19:25:04 +01:00
Henrik Rydgård
20a17a0e8d Reorganize DebugInterface etc a bit.
KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
2024-12-12 18:54:46 +01:00
Henrik Rydgård
39ffe92e0a LR->RA rename, fixes 2024-12-12 17:47:37 +01:00
Henrik Rydgård
cdef529aa3 Initial memory view work, not yet building 2024-12-12 17:47:33 +01:00
Henrik Rydgård
637d15434e Minor code cleanup. Add Goto LR button 2024-12-10 22:56:03 +01:00
Henrik Rydgård
5817f60346 Remove redundant code. Add "break after syscall" button, fix up 2024-12-10 22:43:31 +01:00
Henrik Rydgård
d3789367a4 ImGeDebugger: Implement the new state viewer 2024-12-10 17:21:30 +01:00
Henrik Rydgård
e1148485f1 Refactor the GE state viewers 2024-12-10 16:01:53 +01:00
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