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

Method GetDrawDumpPath

pcsx2/GS/GSState.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142std::string GSState::GetDrawDumpPath(const char* format, ...)
143{
144 std::va_list ap;
145 va_start(ap, format);
146 const std::string& base = GSIsHardwareRenderer() ? GSConfig.HWDumpDirectory : GSConfig.SWDumpDirectory;
147 std::string ret(Path::Combine(base, StringUtil::StdStringFromFormatV(format, ap)));
148 va_end(ap);
149 return ret;
150}
151
152void GSState::Reset(bool hardware_reset)
153{

Callers

nothing calls this directly

Calls 3

GSIsHardwareRendererFunction · 0.85
CombineFunction · 0.85
StdStringFromFormatVFunction · 0.85

Tested by

no test coverage detected