mirror of https://github.com/PCSX2/pcsx2.git
GSdx: GoW2, try #3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@962 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
85cf1ab6dc
commit
6830f07f27
|
@ -56,20 +56,15 @@ protected:
|
||||||
{
|
{
|
||||||
if(message == WM_KEYUP)
|
if(message == WM_KEYUP)
|
||||||
{
|
{
|
||||||
if(wParam == VK_DELETE)
|
switch(wParam)
|
||||||
{
|
{
|
||||||
|
case VK_DELETE:
|
||||||
m_filter = (m_filter + 1) % 3;
|
m_filter = (m_filter + 1) % 3;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
case VK_END:
|
||||||
|
|
||||||
if(wParam == VK_END)
|
|
||||||
{
|
|
||||||
m_dither = m_dither ? 0 : 1;
|
m_dither = m_dither ? 0 : 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
case VK_NEXT:
|
||||||
|
|
||||||
if(wParam == VK_NEXT)
|
|
||||||
{
|
|
||||||
m_aspectratio = (m_aspectratio + 1) % 3;
|
m_aspectratio = (m_aspectratio + 1) % 3;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,36 +67,25 @@ protected:
|
||||||
{
|
{
|
||||||
int step = (::GetAsyncKeyState(VK_SHIFT) & 0x8000) ? -1 : 1;
|
int step = (::GetAsyncKeyState(VK_SHIFT) & 0x8000) ? -1 : 1;
|
||||||
|
|
||||||
if(msg.wParam == VK_F5)
|
switch(msg.wParam)
|
||||||
{
|
{
|
||||||
|
case VK_F5:
|
||||||
m_interlace = (m_interlace + 7 + step) % 7;
|
m_interlace = (m_interlace + 7 + step) % 7;
|
||||||
return true;
|
return true;
|
||||||
}
|
case VK_F6:
|
||||||
|
|
||||||
if(msg.wParam == VK_F6)
|
|
||||||
{
|
|
||||||
m_aspectratio = (m_aspectratio + 3 + step) % 3;
|
m_aspectratio = (m_aspectratio + 3 + step) % 3;
|
||||||
return true;
|
return true;
|
||||||
}
|
case VK_F7:
|
||||||
|
|
||||||
if(msg.wParam == VK_F7)
|
|
||||||
{
|
|
||||||
m_wnd.SetWindowText(_T("PCSX2"));
|
m_wnd.SetWindowText(_T("PCSX2"));
|
||||||
m_osd = !m_osd;
|
m_osd = !m_osd;
|
||||||
return true;
|
return true;
|
||||||
}
|
case VK_DELETE:
|
||||||
|
|
||||||
if(msg.wParam == VK_DELETE)
|
|
||||||
{
|
|
||||||
m_aa1 = !m_aa1;
|
m_aa1 = !m_aa1;
|
||||||
return true;
|
return true;
|
||||||
}
|
case VK_END:
|
||||||
|
|
||||||
if(msg.wParam == VK_END)
|
|
||||||
{
|
|
||||||
m_blur = !m_blur;
|
m_blur = !m_blur;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -398,17 +387,11 @@ protected:
|
||||||
{
|
{
|
||||||
if(msg.message == WM_KEYDOWN)
|
if(msg.message == WM_KEYDOWN)
|
||||||
{
|
{
|
||||||
if(msg.wParam == VK_F12)
|
switch(msg.wParam)
|
||||||
{
|
{
|
||||||
if(m_capture.IsCapturing())
|
case VK_F12:
|
||||||
{
|
if(m_capture.IsCapturing()) m_capture.EndCapture();
|
||||||
m_capture.EndCapture();
|
else m_capture.BeginCapture(GetFPS());
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_capture.BeginCapture(GetFPS());
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2088,7 +2088,7 @@ bool GSC_GodOfWar2(const GSFrameInfo& fi, int& skip)
|
||||||
if(fi.TME && fi.FBP == 0x00100 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00100 && fi.TPSM == PSM_PSMCT16 // ntsc
|
if(fi.TME && fi.FBP == 0x00100 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x00100 && fi.TPSM == PSM_PSMCT16 // ntsc
|
||||||
|| fi.TME && fi.FBP == 0x02100 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x02100 && fi.TPSM == PSM_PSMCT16) // pal
|
|| fi.TME && fi.FBP == 0x02100 && fi.FPSM == PSM_PSMCT16 && fi.TBP0 == 0x02100 && fi.TPSM == PSM_PSMCT16) // pal
|
||||||
{
|
{
|
||||||
skip = 30; // shadows
|
skip = 29; // shadows
|
||||||
}
|
}
|
||||||
else if(fi.TME && fi.FBP == 0x00500 && fi.FPSM == PSM_PSMCT24 && fi.TBP0 == 0x02100 && fi.TPSM == PSM_PSMCT32) // pal
|
else if(fi.TME && fi.FBP == 0x00500 && fi.FPSM == PSM_PSMCT24 && fi.TBP0 == 0x02100 && fi.TPSM == PSM_PSMCT32) // pal
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue