fix for my last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6156 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c9dd11c803
commit
625d78fb59
|
@ -499,7 +499,7 @@ void ProgressiveCleanup()
|
||||||
bool HandleDisplayList(u32 address, u32 size)
|
bool HandleDisplayList(u32 address, u32 size)
|
||||||
{
|
{
|
||||||
//Fixed DlistCaching now is fully functional still some things to workout
|
//Fixed DlistCaching now is fully functional still some things to workout
|
||||||
if(!g_ActiveConfig.bDlistCahchingEnable)
|
if(!g_ActiveConfig.bDlistCachingEnable)
|
||||||
return false;
|
return false;
|
||||||
if(size == 0) return false;
|
if(size == 0) return false;
|
||||||
u64 dl_id = DLCache::CreateMapId(address, size);
|
u64 dl_id = DLCache::CreateMapId(address, size);
|
||||||
|
|
|
@ -89,8 +89,8 @@ void VideoConfig::Load(const char *ini_file)
|
||||||
iniFile.Get("Enhancements", "MaxAnisotropy", &iMaxAnisotropy, 1); // NOTE - this is x in (1 << x)
|
iniFile.Get("Enhancements", "MaxAnisotropy", &iMaxAnisotropy, 1); // NOTE - this is x in (1 << x)
|
||||||
iniFile.Get("Enhancements", "PostProcessingShader", &sPostProcessingShader, "");
|
iniFile.Get("Enhancements", "PostProcessingShader", &sPostProcessingShader, "");
|
||||||
|
|
||||||
iniFile.Get("Hacks", "EFBAccessEnable", &bEFBAccessEnable, false);
|
iniFile.Get("Hacks", "EFBAccessEnable", &bEFBAccessEnable, true);
|
||||||
iniFile.Get("Hacks", "DlistCachingEnable", &bDlistCahchingEnable);
|
iniFile.Get("Hacks", "DlistCachingEnable", &bDlistCachingEnable,false);
|
||||||
iniFile.Get("Hacks", "EFBCopyDisable", &bEFBCopyDisable, false);
|
iniFile.Get("Hacks", "EFBCopyDisable", &bEFBCopyDisable, false);
|
||||||
iniFile.Get("Hacks", "EFBCopyDisableHotKey", &bOSDHotKey, 0);
|
iniFile.Get("Hacks", "EFBCopyDisableHotKey", &bOSDHotKey, 0);
|
||||||
iniFile.Get("Hacks", "EFBToTextureEnable", &bCopyEFBToTexture, false);
|
iniFile.Get("Hacks", "EFBToTextureEnable", &bCopyEFBToTexture, false);
|
||||||
|
@ -199,7 +199,7 @@ void VideoConfig::Save(const char *ini_file)
|
||||||
iniFile.Set("Enhancements", "PostProcessingShader", sPostProcessingShader);
|
iniFile.Set("Enhancements", "PostProcessingShader", sPostProcessingShader);
|
||||||
|
|
||||||
iniFile.Set("Hacks", "EFBAccessEnable", bEFBAccessEnable);
|
iniFile.Set("Hacks", "EFBAccessEnable", bEFBAccessEnable);
|
||||||
iniFile.Set("Hacks", "DlistCachingEnable", bDlistCahchingEnable);
|
iniFile.Set("Hacks", "DlistCachingEnable", bDlistCachingEnable);
|
||||||
iniFile.Set("Hacks", "EFBCopyDisable", bEFBCopyDisable);
|
iniFile.Set("Hacks", "EFBCopyDisable", bEFBCopyDisable);
|
||||||
iniFile.Set("Hacks", "EFBCopyDisableHotKey", bOSDHotKey);
|
iniFile.Set("Hacks", "EFBCopyDisableHotKey", bOSDHotKey);
|
||||||
iniFile.Set("Hacks", "EFBToTextureEnable", bCopyEFBToTexture);
|
iniFile.Set("Hacks", "EFBToTextureEnable", bCopyEFBToTexture);
|
||||||
|
|
|
@ -112,7 +112,7 @@ struct VideoConfig
|
||||||
|
|
||||||
// Hacks
|
// Hacks
|
||||||
bool bEFBAccessEnable;
|
bool bEFBAccessEnable;
|
||||||
bool bDlistCahchingEnable;
|
bool bDlistCachingEnable;
|
||||||
bool bEFBCopyDisable; // should reverse polarity of this one :) true=disabled can be confusing
|
bool bEFBCopyDisable; // should reverse polarity of this one :) true=disabled can be confusing
|
||||||
bool bOSDHotKey;
|
bool bOSDHotKey;
|
||||||
bool bHack;
|
bool bHack;
|
||||||
|
|
Loading…
Reference in New Issue