diff options
| author | Stenzek <stenzek@gmail.com> | 2016-11-18 22:57:08 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2016-11-23 12:07:49 +1000 |
| commit | 6d0b9b816fd44666f31d5cd0435b2b40375a7e85 (patch) | |
| tree | 0f327894744d3aa33a3131bd44f72cbf8681abc6 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | b6f9bdf16bf29a49c6fcf12b07f144d2ccbabbba (diff) | |
VideoCommon: Support dumping frames to images
This is mainly for potential Android fifoci usage, and thus is not
exposed anywhere in the UI. To enable, set DumpFramesAsImages under
Settings in GFX.ini.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 115dbf8162..123d7e9e58 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -71,6 +71,7 @@ void VideoConfig::Load(const std::string& ini_file) settings->Get("ConvertHiresTextures", &bConvertHiresTextures, 0); settings->Get("CacheHiresTextures", &bCacheHiresTextures, 0); settings->Get("DumpEFBTarget", &bDumpEFBTarget, 0); + settings->Get("DumpFramesAsImages", &bDumpFramesAsImages, 0); settings->Get("FreeLook", &bFreeLook, 0); settings->Get("UseFFV1", &bUseFFV1, 0); settings->Get("EnablePixelLighting", &bEnablePixelLighting, 0); @@ -287,6 +288,7 @@ void VideoConfig::Save(const std::string& ini_file) settings->Set("ConvertHiresTextures", bConvertHiresTextures); settings->Set("CacheHiresTextures", bCacheHiresTextures); settings->Set("DumpEFBTarget", bDumpEFBTarget); + settings->Set("DumpFramesAsImages", bDumpFramesAsImages); settings->Set("FreeLook", bFreeLook); settings->Set("UseFFV1", bUseFFV1); settings->Set("EnablePixelLighting", bEnablePixelLighting); |
