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
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Unknown W. Brackets
265a3cf7a0
Debugger: Fix a dumb typo.
2023-01-18 21:42:36 -08:00
Unknown W. Brackets
5b74937780
Debugger: Make sure we don't restore twice.
...
Aside from the lock, we also don't want to restore emuhacks/replacements
or resume from stepping early.
2023-01-04 23:48:14 -08:00
Unknown W. Brackets
a937e5dce3
Debugger: Fix mem lock with optimizations disabled.
2023-01-04 21:41:59 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
8cefb98e97
Debugger: Fix input.analog.send validation.
2022-10-29 17:38:37 -07:00
Unknown W. Brackets
907b41ab4f
Merge pull request #16220 from Nemoumbra/remote-API-tests
...
hle.func.scan update and code improvements
2022-10-16 07:25:07 -07:00
Nemoumbra
73e5791b08
Code cleanup, optional param renamed: "recreate" -> "remove"
2022-10-16 14:43:56 +03:00
Nemoumbra
4a967966ef
Removed the bugged part of hle.func.scan + new comments
2022-10-15 16:01:12 +03:00
Nemoumbra
a772e87072
Comments updated, default value for parameter "recreate" set to false
2022-10-12 12:09:05 +03:00