Commit graph

113 commits

Author SHA1 Message Date
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
Unknown W. Brackets
1233d1d376 Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some.
Trying to reduce noise in reporting from debugging.
2022-07-30 18:21:32 -07:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Unknown W. Brackets
b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08:00
Unknown W. Brackets
fc2efe5dff Debugger: Add reason to cpu.stepping event. 2021-10-23 22:08:15 -07:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Unknown W. Brackets
83909f816e Debugger: Add APIs for GPU stats. 2021-10-19 10:01:41 -07:00
Unknown W. Brackets
ce3b80dcea Debugger: Add initial GPU stats shell. 2021-10-19 10:01:40 -07:00
Unknown W. Brackets
c48a203363 Debugger: Avoid infinite loop in disasm API.
This allows for wrap around, but prevents getting stuck looping in out of
bound addresses.
2021-08-29 11:11:01 -07:00
Henrik Rydgård
cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Henrik Rydgård
914b4478b6
Merge pull request #14493 from unknownbrackets/replay
Add debugger APIs for replay recording
2021-05-31 11:45:39 +02:00
Unknown W. Brackets
6e128eb510 Debugger: Expose API to reset game.
This can be useful to put the game back to a known-good state before
setting up breakpoints, overwriting memory, and processing replay data.
2021-05-30 21:12:30 -07:00
Unknown W. Brackets
ea59fa3562 Debugger: Add replay execute/flush APIs. 2021-05-30 15:25:07 -07:00
Unknown W. Brackets
85c64d3ec3 Replay: Properly load RTC time on load file. 2021-05-29 14:50:57 -07:00
Unknown W. Brackets
64e007c0ce Debugger: Add stub API for replay functionality. 2021-05-29 14:50:57 -07:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
012d47bcbf Debugger: Show string in status bar for li, etc.
This is helpful when stepping through the debugger.  Only shows likely
UTF-8 or similar formatted text, but often names or error messages are.
2021-04-21 23:50:59 -07:00
Unknown W. Brackets
5904900d37 Debugger: Add APIs to set/list/search mem tags. 2021-04-06 12:09:39 -07:00
Unknown W. Brackets
124774fecb Debugger: Provide memory mapping ranges.
Most of these are entirely static, but introspection is good for APIs.
2021-04-04 21:27:30 -07:00
Unknown W. Brackets
a0c1320aec Debugger: Return detail for breakpoints in macros. 2021-04-04 20:24:16 -07:00
Unknown W. Brackets
7a1398844a Debugger: Add simple API to control tagging detail.
In case a client requires it.
2021-04-04 20:23:51 -07:00
Unknown W. Brackets
9cfaac6d90 Debugger: Invalidate when using memory APIs. 2021-02-13 09:50:04 -08:00
Unknown W. Brackets
1148e6e4ba Debugger: Include all press states for convenience.
In case of a multi-button shortcut, which might be common for debugging.
2021-01-18 18:14:48 -08:00
Unknown W. Brackets
f97df5d153 Debugger: Broadcast ctrl input events.
This can be useful to trigger debugging functionality on button press.
2021-01-18 18:14:48 -08:00
Unknown W. Brackets
de3277c679 Debugger: Add API to trigger buttons. 2021-01-18 16:58:34 -08:00