| 214 | } |
| 215 | |
| 216 | static 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 | |
| 232 | static void GSDumpReplayerUpdateFrameLimit() |
| 233 | { |
no test coverage detected