gsdx: set m_nativeres to true in replayer

Otherwise you can't compare draw call between native and upscaled
This commit is contained in:
Gregory Hainaut 2016-10-16 14:42:45 +02:00
parent f5e096a66f
commit defdd27987
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ GSState::GSState()
, m_options(0) , m_options(0)
, m_frameskip(0) , m_frameskip(0)
{ {
m_nativeres = theApp.GetConfigI("upscale_multiplier") == 1; // m_nativeres seems to be a hack. Unfortunately it impacts draw call number which make debug painful in the replayer.
// Let's keep it disabled to ease debug.
m_nativeres = theApp.GetConfigI("upscale_multiplier") == 1 || GLLoader::in_replayer;
m_mipmap = theApp.GetConfigI("mipmap"); m_mipmap = theApp.GetConfigI("mipmap");
m_NTSC_Saturation = theApp.GetConfigB("NTSC_Saturation"); m_NTSC_Saturation = theApp.GetConfigB("NTSC_Saturation");
m_userhacks_skipdraw = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_SkipDraw") : 0; m_userhacks_skipdraw = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_SkipDraw") : 0;