mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Store the user selected F7 shader to the ini, as TVShader.
As before: use the hotkey(f7) to switch between them. It will now save the chosen scanline effect, instead of always defaulting to disabled, on load. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5874 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5a8f01edf4
commit
644f0e61ba
|
@ -36,6 +36,7 @@ GSRenderer::GSRenderer()
|
|||
|
||||
m_interlace = theApp.GetConfig("interlace", 7);
|
||||
m_aspectratio = theApp.GetConfig("aspectratio", 1);
|
||||
m_shader = theApp.GetConfig("TVShader", 0);
|
||||
m_filter = theApp.GetConfig("filter", 1);
|
||||
m_vsync = !!theApp.GetConfig("vsync", 0);
|
||||
m_aa1 = !!theApp.GetConfig("aa1", 0);
|
||||
|
@ -560,7 +561,8 @@ void GSRenderer::KeyEvent(GSKeyEventData* e)
|
|||
return;
|
||||
case VK_F7:
|
||||
m_shader = (m_shader + post_shader_nb + step) % post_shader_nb;
|
||||
printf("GSdx: Set shader %d.\n", (int)m_shader);
|
||||
printf("GSdx: Set shader to: %d.\n", (int)m_shader);
|
||||
theApp.SetConfig("TVShader", (int)m_shader);
|
||||
return;
|
||||
case VK_DELETE:
|
||||
m_aa1 = !m_aa1;
|
||||
|
|
Loading…
Reference in New Issue