GSdx: GoW2, try #3

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@962 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-04-12 19:46:42 +00:00
parent 85cf1ab6dc
commit 6830f07f27
3 changed files with 16 additions and 38 deletions

View File

@ -56,20 +56,15 @@ protected:
{
if(message == WM_KEYUP)
{
if(wParam == VK_DELETE)
switch(wParam)
{
case VK_DELETE:
m_filter = (m_filter + 1) % 3;
return 0;
}
if(wParam == VK_END)
{
case VK_END:
m_dither = m_dither ? 0 : 1;
return 0;
}
if(wParam == VK_NEXT)
{
case VK_NEXT:
m_aspectratio = (m_aspectratio + 1) % 3;
return 0;
}

View File

@ -67,36 +67,25 @@ protected:
{
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;
return true;
}
if(msg.wParam == VK_F6)
{
case VK_F6:
m_aspectratio = (m_aspectratio + 3 + step) % 3;
return true;
}
if(msg.wParam == VK_F7)
{
case VK_F7:
m_wnd.SetWindowText(_T("PCSX2"));
m_osd = !m_osd;
return true;
}
if(msg.wParam == VK_DELETE)
{
case VK_DELETE:
m_aa1 = !m_aa1;
return true;
}
if(msg.wParam == VK_END)
{
case VK_END:
m_blur = !m_blur;
return true;
}
}
}
return false;
@ -398,17 +387,11 @@ protected:
{
if(msg.message == WM_KEYDOWN)
{
if(msg.wParam == VK_F12)
switch(msg.wParam)
{
if(m_capture.IsCapturing())
{
m_capture.EndCapture();
}
else
{
m_capture.BeginCapture(GetFPS());
}
case VK_F12:
if(m_capture.IsCapturing()) m_capture.EndCapture();
else m_capture.BeginCapture(GetFPS());
return true;
}
}

View File

@ -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
|| 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
{