Commit graph

44 commits

Author SHA1 Message Date
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Unknown W. Brackets
815580533c GE Debugger: Include game ID inside dump file.
Just so we're not relying on filename parsing.  It's useful information.
2020-09-06 14:38:56 -07:00
Unknown W. Brackets
61f907fd18 GE Debugger: Fix alignment in GE dumps. 2020-05-24 19:06:20 -07:00
Unknown W. Brackets
93069756e6 GE Debugger: Split playback into a separate file. 2019-06-23 18:49:27 -07:00
Unknown W. Brackets
9e98642258 GE Debugger: Cache decompressed frame commands.
This adds to noise in profiling the frame dump.
2019-06-23 18:29:36 -07:00
Unknown W. Brackets
df6c5f38dc Core: Use readable names for failed backends. 2019-06-22 12:48:56 -07:00
Unknown W. Brackets
bb7d9646f2 GE Debugger: Fix dump replay ticks accounting.
Sometimes a list ends earlier than now, we don't need to eat cycles then.
Fixes #11655.
2018-12-10 23:05:42 -08:00
Unknown W. Brackets
3cf3985c8d GE Debugger: Support record for more render types.
This should handle both games that use display, and games that don't.
2018-11-17 22:12:45 -08:00
Unknown W. Brackets
179514e8d7 GE Debugger: Avoid writing 0 sized packets.
This causes errors on allocation sometimes due to things like count=0 in a
prim command.
2018-11-17 22:01:14 -08:00
Henrik Rydgård
036556c371
Merge pull request #11564 from unknownbrackets/ge-dump
GE Debugger: Preserve VRAM textures / render-to-texture in dumps
2018-11-17 23:32:20 +01:00
Unknown W. Brackets
2d3885fc1a GE Debugger: Fix display event record timing.
When the display happens mid frame, this fixes it so you can see the
result easily when running the dump, without manually stepping through.
2018-11-17 11:14:10 -08:00
Unknown W. Brackets
6383f407d1 GE Debugger: Avoid overwriting in softgpu playback. 2018-11-17 10:06:31 -08:00
Unknown W. Brackets
169d2fa444 GE Debugger: Preserve VRAM textures in dumps.
Should allow for (some) reproduction of render-to-texture behavior.
2018-11-17 10:06:31 -08:00
Unknown W. Brackets
653129c528 Debugger: Add an event for GE dump recording. 2018-09-01 10:59:37 -07:00
Unknown W. Brackets
c10b2035b5 Debugger: Prevent record with no commands.
Should cut down on empty dumps, at least.
2018-09-01 09:51:04 -07:00
Unknown W. Brackets
582bc2d60a GE Debugger: Stall less liberally on GE dump exec.
This makes it easier to compare performance and flushing bugs.
2018-06-11 15:14:18 -07:00
Unknown W. Brackets
f7443aaa15 GE Debugger: Use a class for dump execution. 2018-06-11 15:06:40 -07:00
Henrik Rydgård
ca6865b323 GE Record: After recording a frame, log the filename of the output file. 2017-12-04 15:15:55 +01:00
Unknown W. Brackets
14cf862e22 GE Debugger: Gah, fix some pointer size errors.
Happened to be 8 bytes, but not on 32-bit, of course.
2017-06-06 19:49:10 -07:00
Henrik Rydgård
b5ed8de9e5 Warning fix 2017-06-05 13:39:06 +02:00
Unknown W. Brackets
73fd75c0e2 GE Debugger: Fix replay timing drift. 2017-06-04 20:08:17 -07:00
Unknown W. Brackets
7e26c75a27 GE Debugger: Pass filename into dump replay. 2017-06-04 15:11:10 -07:00
Unknown W. Brackets
d62f5f9fe2 GE Debugger: Add some comments and cleanup. 2017-06-04 14:51:27 -07:00
Unknown W. Brackets
0ce48fbeb5 GE Debugger: Reduce memory allocation.
This allows larger dumps to run without memory errors.
2017-06-04 12:11:23 -07:00
Unknown W. Brackets
883c4e8ac8 GE Debugger: Compress GE dumps.
This doesn't save slab memory/size, but it does improve file size.
2017-06-04 11:10:19 -07:00
Unknown W. Brackets
23d2ababd1 GE Debugger: Run replay using stalling.
This is faster and tests flushing better.
2017-06-04 10:39:03 -07:00
Unknown W. Brackets
2a388ba785 GE Debugger: Fix replay FPS. 2017-06-04 10:39:02 -07:00
Unknown W. Brackets
80be3166af GE Debugger: Allocate replay memory smarter.
This ends up being a good chunk faster.
2017-06-04 10:39:01 -07:00
Unknown W. Brackets
300961ce6e GE Debugger: Align texture/vertex/etc. data.
This may allow slab allocation after all, since it needs to be aligned.
2017-06-04 10:38:59 -07:00
Unknown W. Brackets
9430145774 GE Debugger: Fix clut command recording.
The loadclut command hasn't executed yet...
2017-06-04 10:38:58 -07:00
Unknown W. Brackets
ababe0046e GE Debugger: Implement memory transfer commands. 2017-06-04 10:38:56 -07:00
Unknown W. Brackets
9f51c35df1 GE Debugger: Fix memmem and cleanup.
Somehow the prev memmem was sometimes not working right...
2017-06-04 10:38:56 -07:00
Unknown W. Brackets
3e14900164 GE Debugger: Load commands more directly. 2017-06-04 10:38:55 -07:00
Unknown W. Brackets
0c08559840 GE Debugger: Wait to get the right display buf. 2017-06-04 10:38:54 -07:00
Unknown W. Brackets
fcfbe8cabb GE Debugger: Fix matrix dumping.
Record wasn't seeing the commands to dump them.
2017-06-04 10:38:53 -07:00
Unknown W. Brackets
e45b04a699 GE Debugger: Clear after replay finished. 2017-06-04 10:38:53 -07:00
Unknown W. Brackets
82beb726fc GE Debugger: Record init state and display buf.
Some things are now visible, but still drawing wrong...
2017-06-04 10:38:52 -07:00
Unknown W. Brackets
21153c899b GE Debugger: Oops, don't record if not active.
In case the debugger is open but not recording, oops.
2017-06-04 10:38:51 -07:00
Unknown W. Brackets
73d21ab859 GE Debugger: Initial GE dump replay.
Doesn't work for a few reasons, mainly need existing matrix state/etc.
2017-06-04 10:38:50 -07:00
Unknown W. Brackets
4f07ec0df5 GE Debugger: Oops, emit transfer/clut cmds. 2017-06-03 15:29:11 -07:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
Unknown W. Brackets
37a894a558 GE Debugger: Record memcpy/memset too. 2017-06-03 15:29:10 -07:00
Unknown W. Brackets
b2bd966adf GE Debugger: Implement basic recording.
A bit slow since it searches really hard for dups, but otherwise the file
is often very large.
2017-06-03 15:29:09 -07:00
Unknown W. Brackets
cbbd3cac7e GE Debugger: Initial structure for GE data dumping.
This snapshots the GE commands and drawing to facilitate debugging.
2017-06-03 15:29:09 -07:00