MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GSDumpReplayerSendPacketToMTGS

Function GSDumpReplayerSendPacketToMTGS

pcsx2/GSDumpReplayer.cpp:216–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static void GSDumpReplayerSendPacketToMTGS(GIF_PATH path, const u8* data, size_t length)
217{
218 pxAssert((length % 16) == 0 && length < UINT32_MAX);
219
220 const u32 truncated_length = static_cast<u32>(length);
221
222 Gif_Path& gifPath = gifUnit.gifPath[path];
223 gifPath.CopyGSPacketData(const_cast<u8*>(data), truncated_length);
224
225 GS_Packet gsPack;
226 gsPack.offset = gifPath.curOffset;
227 gsPack.size = truncated_length;
228 gifPath.curOffset += length;
229 Gif_AddCompletedGSPacket(gsPack, path);
230}
231
232static void GSDumpReplayerUpdateFrameLimit()
233{

Callers 1

GSDumpReplayerCpuStepFunction · 0.85

Calls 2

Gif_AddCompletedGSPacketFunction · 0.85
CopyGSPacketDataMethod · 0.80

Tested by

no test coverage detected