Henrik Rydgård
33b87578c5
Revive old alignment utility functions, give them better names.
2025-09-03 20:48:51 +02:00
Henrik Rydgård
f2df336f79
Resolve #20746 by checking addresses harshly in MIPSAnalyst
...
By fixing up badly aligned addresses in HLESubscriber.cpp.
This should help eliminate any bad usage within PPSSPP itself, while
also keeping existing websocket code working.
Additionally, this makes some end addresses exclusive instead of
inclusive, which simplifies address math.
2025-09-03 20:32:19 +02:00
Henrik Rydgård
3b3257ad99
Fix crash in debug builds in gpu.stats.get
2025-08-26 10:24:30 +02:00
Henrik Rydgård
a7b36ae0ae
Websocket: Request resets asynchronously. sync won't work.
2025-08-26 10:12:43 +02:00
Henrik Rydgård
18ccef1bd4
Just some minor code modernization
2025-08-25 10:45:12 +02:00
Nemoumbra
846c265972
Fixed the docs + better wording
2025-08-10 17:44:38 +03:00
Henrik Rydgård
cc3fbb22e4
Change some stat arrays from double to float (to save mem bandwidth)
2025-06-18 11:00:27 +02:00
Henrik Rydgård
088a02bfdb
Cleanup a lot of the bootup state management.
2025-03-30 14:02:29 +02:00
Henrik Rydgård
c1828f69b9
Add an option to compress .ppsym files when saving or not (was always on before).
2025-03-29 18:17:41 +01:00
Henrik Rydgård
31cf5771f4
Turn the break reason into an enum, fix some minor issues
2025-02-19 16:01:11 -06: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
96cab3f267
Rework the log manager to be more robust
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
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
83af54950f
Move more core-related stuff into Core.cpp/h
2024-12-08 11:54:58 +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
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
7992ff4627
Make CBreakpoints an object
2024-11-25 00:22:53 +01:00
Henrik Rydgård
df104e7e31
Fix crash due to null break reason
2024-11-12 11:25:35 +01:00
Henrik Rydgård
cf6d06c56a
Start work on imdbg
2024-11-07 11:10:12 +01:00
Henrik Rydgård
55aa1ff66e
Warning fixes
2024-11-06 11:59:34 +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
d3e9398cb3
Split Core_EnableStepping into Core_Break and Core_Resume
2024-11-03 17:53:42 +01:00
Henrik Rydgård
e51c58716b
Fix minor code issues flagged by PVS-Studio and reported by alphrixus.
2024-10-10 14:10:30 +02:00
Henrik Rydgård
2613745cdd
Add mappable devkit-only L2/L3/R2/R3 controls.
...
Can be used to bring up a debug menu in Castlevania: SOTN, see issue #17464
Could also be used in PPSSPP-specific homebrew, in theory.
Fixes #17464
2024-09-24 10:49:10 +02:00
Henrik Rydgård
5939270d2c
Log: Split out StdioListener from ConsoleListener, making the second Win32-only.
2024-07-21 13:55:40 +02: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
9253bf9cb5
Add a new screen for managing installed Adreno drivers
2024-01-17 10:51:08 +01:00
Herman Semenov
315340fc62
Using const reference for C++17 range-based loop and freq used objects
2023-12-13 17:33:01 +01:00
Henrik Rydgård
1025bbcf89
Log level/type: Use enum class instead of the awkward namespace trick.
...
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
d2d8688e47
Add "Create frame dump" to the in-game developer menu (that can be enabled in dev settings)
...
Makes it possible to create one without connecting the websocket
debugger, even on non-Windows platforms.
2023-08-24 14:41:35 +02:00
Nemoumbra
27a5482a46
Code cleanup, copyright typo fixed
2023-06-16 17:13:10 +03:00
Nemoumbra
3fbaea3b9a
Allowed -> disallowed, at -> [], code cleanup
2023-06-05 21:51:13 +03:00
Nemoumbra
af8480683a
Config initialization moved to HandleDebuggerRequest
2023-06-01 17:12:22 +03:00
Nemoumbra
311687a673
ClientConfigSubscriber added
2023-05-31 19:17:43 +03:00
Unknown W. Brackets
69f67fa73f
Debugger: Make version API params optional.
...
They still have types, so some will fail such as an array.
2023-05-31 00:01:47 -07:00
Henrik Rydgård
16bca6fe8b
Make GAmeSubscriber backward compatible again.
...
Now it won't break any potential old client that doesn't pass the
fields.
Should have insisted on this.
2023-05-31 07:51:14 +02:00
Nemoumbra
7f0828c659
Added WebsocketClientInfo
2023-05-27 17:59:45 +03:00
Nemoumbra
7517b7a4e8
Debugger comments actualized ( #17385 )
...
* Comments actualized
* Event name fixed
* Updated cpu.stepping description
2023-05-23 08:46:49 +02:00
Unknown W. Brackets
069ff3e58c
Debugger: Add memory bp conditions to websockets.
2023-04-12 01:07:56 -07:00
Henrik Rydgård
7f60acf898
Merge pull request #17259 from unknownbrackets/debugger-minor
...
A few more debugger things
2023-04-09 22:25:04 +02:00
Unknown W. Brackets
8a74d95eb2
Debugger: Fix format for 32-bit OS.
2023-04-09 12:07:41 -07:00
Henrik Rydgård
0b574613b9
Address assorted feedback
2023-04-01 09:01:27 +02:00
Henrik Rydgård
04d3d3111c
Clean up __Ctrl button functions.
2023-04-01 08:55:45 +02:00
Henrik Rydgård
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +02:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00