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

Method ShouldDump

pcsx2/Pcsx2Config.cpp:1181–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1179}
1180
1181bool Pcsx2Config::GSOptions::ShouldDump(u64 draw, int frame) const
1182{
1183 int drawOffset = static_cast<int>(draw - static_cast<u64>(SaveDrawStart));
1184 int frameOffset = frame - SaveFrameStart;
1185 return DumpGSData &&
1186 (drawOffset >= 0) && ((SaveDrawCount < 0) || (drawOffset < SaveDrawCount)) && (drawOffset % SaveDrawBy == 0) &&
1187 (frameOffset >= 0) && ((SaveFrameCount < 0) || (frameOffset < SaveFrameCount)) && (frameOffset % SaveFrameBy == 0);
1188}
1189
1190static constexpr const std::array s_spu2_sync_mode_names = {
1191 "Disabled",

Callers 10

FlushPrimMethod · 0.80
InitReadFIFOMethod · 0.80
VSyncMethod · 0.80
GetOutputMethod · 0.80
GetFeedbackOutputMethod · 0.80
DrawMethod · 0.80
DrawPrimsMethod · 0.80
GetOutputMethod · 0.80
DrawMethod · 0.80
UpdateSourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected