Commit graph

139 commits

Author SHA1 Message Date
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
Nemoumbra
acdaaae7a4 Added optional parameter to hle.func.scan, improved code of hle.func.removeRange 2022-10-12 11:55:01 +03:00
Unknown W. Brackets
416265431b GE Debugger: Display if tex is framebuf.
Rather than guessing based on size, let's show explicitly.
2022-10-10 22:35:42 -07:00
Nemoumbra
e67cc16660 Remote API: hle.func.removeRange added 2022-10-09 19:11:14 +03:00
Unknown W. Brackets
1c7a5bbb49 Debugger: Fix off-by-one in func scanning.
This is inclusive.
2022-10-08 17:51:04 -07:00
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
09f0c0c8fd Fixed syntax accessing method reviewed by Unknown W. Brackets <checkins@unknownbrackets.org>
Signed-off-by: lainon <GermanAizek@yandex.ru>
2022-10-03 10:47:55 +03:00
Unknown W. Brackets
753ac95307 Debugger: Fix game.reset by adding a reboot status.
We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
2022-10-01 18:13:22 -07:00
Unknown W. Brackets
ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets
3b0c0f2916 Debugger: Add API to scan memory for funcs.
For example, when you know a range is being used or when you've deleted
the functions.
2022-09-27 19:14:32 -07:00
Unknown W. Brackets
b60217d962 Debugger: Fix doc typo for disasm/assemble names. 2022-09-27 19:02:33 -07:00