mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
New define "NO_CRC_HACKS", for testing how games work without hacks easily. Gets enabled together with the no cache define but can be toggled individually as well. Also I've been told to mention that these changes are not directly benefiting the end user. Gamers: This doesn't fix your DragonBall, okay? :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4636 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5785ba7914
commit
b2ee693b25
|
@ -252,13 +252,13 @@ CRC::Game CRC::Lookup(uint32 crc)
|
||||||
m_map[m_games[i].crc] = &m_games[i];
|
m_map[m_games[i].crc] = &m_games[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifndef NO_CRC_HACKS
|
||||||
hash_map<uint32, Game*>::iterator i = m_map.find(crc);
|
hash_map<uint32, Game*>::iterator i = m_map.find(crc);
|
||||||
|
|
||||||
if(i != m_map.end())
|
if(i != m_map.end())
|
||||||
{
|
{
|
||||||
return *i->second;
|
return *i->second;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return m_games[0];
|
return m_games[0];
|
||||||
}
|
}
|
||||||
|
|
|
@ -556,7 +556,7 @@ protected:
|
||||||
|
|
||||||
void Draw()
|
void Draw()
|
||||||
{
|
{
|
||||||
#ifndef HW_NO_TEXTURE_CACHE
|
#ifndef NO_CRC_HACKS
|
||||||
if(IsBadFrame(m_skip, m_userhacks_skipdraw)) return;
|
if(IsBadFrame(m_skip, m_userhacks_skipdraw)) return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
//#define DISABLE_BITMASKING
|
//#define DISABLE_BITMASKING
|
||||||
//#define DISABLE_COLCLAMP
|
//#define DISABLE_COLCLAMP
|
||||||
//#define DISABLE_DATE
|
//#define DISABLE_DATE
|
||||||
//see stdafx.h for #define HW_NO_TEXTURE_CACHE
|
//see stdafx.h for #define HW_NO_TEXTURE_CACHE and #define NO_CRC_HACKS
|
||||||
|
|
||||||
//#define Offset_ST // Fixes Persona3 mini map alignment which is off even in software rendering
|
//#define Offset_ST // Fixes Persona3 mini map alignment which is off even in software rendering
|
||||||
//#define Offset_UV // Fixes / breaks various titles
|
//#define Offset_UV // Fixes / breaks various titles
|
||||||
|
|
|
@ -329,4 +329,8 @@ extern void* vmalloc(size_t size, bool code);
|
||||||
extern void vmfree(void* ptr, size_t size);
|
extern void vmfree(void* ptr, size_t size);
|
||||||
|
|
||||||
#define USE_UPSCALE_HACKS // Hacks intended to fix upscaling / rendering glitches in HW renderers
|
#define USE_UPSCALE_HACKS // Hacks intended to fix upscaling / rendering glitches in HW renderers
|
||||||
//#define HW_NO_TEXTURE_CACHE // Slow but fixes a lot of bugs
|
//#define HW_NO_TEXTURE_CACHE // Slow but fixes a lot of bugs
|
||||||
|
//#define NO_CRC_HACKS // Disable all game specific hacks
|
||||||
|
#ifdef HW_NO_TEXTURE_CACHE
|
||||||
|
#define NO_CRC_HACKS
|
||||||
|
#endif
|
Loading…
Reference in New Issue