mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
gsdx-debug: create the savef option
The idea is to easily extract bad frame from gs dump and to compare them with the sw renderer. Here the summary of the options: savet => dump all input textures save => dump the render target savez => dump the depth buffer savef => dump the frame
This commit is contained in:
1 parent
d301848848
commit
9d69ff1f91
5 files changed
+12
-8
No files matched your search
@@ -45,13 +45,14 @@ GSState::GSState()
|
||||
{
|
||||
m_nativeres = !!theApp.GetConfig("nativeres", 1);
|
||||
|
||||
s_n = 0;
|
||||
s_dump = !!theApp.GetConfig("dump", 0);
|
||||
s_save = !!theApp.GetConfig("save", 0);
|
||||
s_n = 0;
|
||||
s_dump = !!theApp.GetConfig("dump", 0);
|
||||
s_save = !!theApp.GetConfig("save", 0);
|
||||
s_savet = !!theApp.GetConfig("savet", 0);
|
||||
s_savez = !!theApp.GetConfig("savez", 0);
|
||||
s_saven = theApp.GetConfig("saven", 0);
|
||||
s_savel = theApp.GetConfig("savel", 5000);
|
||||
s_saven = !!theApp.GetConfig("saven", 0);
|
||||
s_savef = !!theApp.GetConfig("savef", 0);
|
||||
s_savel = !!theApp.GetConfig("savel", 5000);
|
||||
#ifdef __linux__
|
||||
if (s_dump) {
|
||||
mkdir("/tmp/GS_HW_dump", 0777);
|
||||
|
||||
Reference in new issue
Block a user