Commit graph

233 commits

Author SHA1 Message Date
Henrik Rydgård
45cf6d423e Buildfixes 2024-12-18 13:57:29 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
e567a58684 Remove StdioListener 2024-12-16 12:33:58 +01:00
Henrik Rydgård
638607d29a Refactor: Make GPUCommon own the framedump "recorder". 2024-12-15 12:07:44 +01:00
Henrik Rydgård
6baaa2607a GE debugger: Cleaner resume from steps. Fixes GE debugging in God of War. 2024-12-13 20:36:31 +01:00
Henrik Rydgård
4a8a87764c Remove unused state 2024-12-13 19:15:33 +01:00
Henrik Rydgård
cccdfad0ba Show basic framebuffer preview 2024-12-10 21:50:14 +01:00
Henrik Rydgård
419c329b06 Show active compat flags on crash screen 2024-12-10 01:43:44 +01:00
Henrik Rydgård
b2a8b4168b Core: Minor changes to stepping (and some log changes) 2024-12-10 01:06:19 +01:00
Henrik Rydgård
c842e3f137 Fix discrepancy between stepping and running across frame endings. Add some more menu options in the ImDebugger 2024-12-10 01:06:04 +01:00
Henrik Rydgård
93baf22369 ImDebugger: Add frame-stepping and a "skim" button (single-steps while held down) 2024-12-08 15:12:13 +01:00
Henrik Rydgård
f74e7fb6f5 Fix running when pc is at breakpoint. Fix issue when stepping through Ge-enqueuing functions. 2024-12-08 15:00:11 +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
83af54950f Move more core-related stuff into Core.cpp/h 2024-12-08 11:54:58 +01:00
Henrik Rydgård
df91f699fc Move the core loop to Core.cpp 2024-12-08 11:47:12 +01:00
Henrik Rydgård
6adf8cabae Fix regression in break-on-load functionality 2024-12-06 00:40:21 +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
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
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
e94defbb15 Get the CORE_RUNNING_GE coreState working! 2024-12-01 22:49:18 +01:00
Henrik Rydgård
96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Henrik Rydgård
e6ae256da8 Fix regression with Debug->Stop (Ctrl+W). Delete some duplicate code. 2024-11-29 17:18:34 +01:00
Henrik Rydgård
1eadea2589 Show the filesystem types and origins in the list (except ISO) 2024-11-26 00:36:58 +01:00
Henrik Rydgård
20c4649963 Fix step over, other stepping issues 2024-11-25 19:02:17 +01:00
Henrik Rydgård
9801f4c810 Add "Rename function" functionality. Fix some input and stepping bugs. 2024-11-25 10:18:56 +01:00
Henrik Rydgård
7992ff4627 Make CBreakpoints an object 2024-11-25 00:22:53 +01:00
Henrik Rydgård
59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
df104e7e31 Fix crash due to null break reason 2024-11-12 11:25:35 +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
e19ad1f359 Remove return value from Core_PerformStep 2024-11-05 12:53: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
828523165f Rework 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
Henrik Rydgård
d3e9398cb3 Split Core_EnableStepping into Core_Break and Core_Resume 2024-11-03 17:53:42 +01:00
Nemoumbra
25f6b01d86 Added the initialization code + UI bindings + logs 2024-09-14 19:46:05 +03:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
20626ebfee When we enforce run-behind due to multiplayer, show "Network connected" on the pause screen 2024-01-21 12:02:30 +01:00
Henrik Rydgård
3ce843819e Show a notification if a game exits with sceKernelExitGame. Mainly useful for homebrew. 2024-01-15 10:36:32 +01:00
Henrik Rydgård
8228e59423 Check if multiplayer if connected, enforce run-behind if so 2023-12-30 21:50:22 +01:00
Henrik Rydgård
acd719448e Wrap g_Config.bRunBehindPauseMenu behind a function, so we can add conditions 2023-12-30 21:50:20 +01:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
Henrik Rydgård
ae0c1e88c3 Move the menu frame-rate throttling to NativeFrame
Now needed on Android since we added the ability to turn off vsync,
which caused the menu to burn battery by rendering too fast.
2023-10-04 16:57:06 +02:00
Henrik Rydgård
e39980fc73 Reduce refresh rate checks.
These turned out to be unexpectedly expensive, so cache the value and
also try to check it a bit less.
2023-10-03 11:00:47 +02:00