From 159f4a691f9a936b73050470ae2cd95d8c942e15 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Tue, 5 Jul 2011 23:01:16 +0000 Subject: [PATCH] Lilypad: Disable a confusing control for now. Also a small comment on GSdx's texture cache lookup. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4793 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSTextureCache.cpp | 4 ++++ plugins/LilyPad/LilyPad.rc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/GSdx/GSTextureCache.cpp b/plugins/GSdx/GSTextureCache.cpp index 5bdb36e912..88a0e8a7c3 100644 --- a/plugins/GSdx/GSTextureCache.cpp +++ b/plugins/GSdx/GSTextureCache.cpp @@ -97,6 +97,10 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con uint32 bp = TEX0.TBP0; uint32 psm = TEX0.PSM; + // This should get looked at if you feel like hackfixing the texture cache. + // Checking for type < 1 (so no only RenderTarget, not DepthStencil get checked), it fixes the fog in Arc the Lad. + // Simply not doing this code at all makes a lot of previsouly missing stuff show (but breaks pretty much everything + // else. for(int type = 0; type < 2 && dst == NULL; type++) { for(list::iterator i = m_dst[type].begin(); i != m_dst[type].end(); i++) diff --git a/plugins/LilyPad/LilyPad.rc b/plugins/LilyPad/LilyPad.rc index 02446c077f..ff3fb1fa75 100644 --- a/plugins/LilyPad/LilyPad.rc +++ b/plugins/LilyPad/LilyPad.rc @@ -237,7 +237,7 @@ BEGIN CONTROL "",IDC_PAD_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_TABSTOP,81,156,183,52,WS_EX_CLIENTEDGE COMBOBOX IDC_PAD_TYPE,270,155,140,41,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Use analog mode whenever possible",IDC_ANALOG_START1, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,270,172,132,10 + "Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,270,172,132,10 GROUPBOX "Device Diagnostics",IDC_STATIC,7,219,201,101 CONTROL "",IDC_LIST,"SysListView32",LVS_LIST | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_BORDER | WS_VSCROLL | WS_TABSTOP,14,231,187,65,WS_EX_CLIENTEDGE PUSHBUTTON "Test Device",ID_TEST,87,300,57,15