mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 01:30:29 +01:00
GSdx: Add an Enumeration for CRC Hack level
This commit is contained in:
1 parent
726f9d5312
commit
ff89619b09
8 files changed
+22
-14
No files matched your search
@@ -51,7 +51,7 @@ GSTextureCache::GSTextureCache(GSRenderer* r)
|
||||
|
||||
m_paltex = theApp.GetConfigB("paltex");
|
||||
m_can_convert_depth &= s_IS_OPENGL; // only supported by openGL so far
|
||||
m_crc_hack_level = theApp.GetConfigI("crc_hack_level");
|
||||
m_crc_hack_level = static_cast<CRCHackLevel>(theApp.GetConfigI("crc_hack_level"));
|
||||
|
||||
// In theory 4MB is enough but 9MB is safer for overflow (8MB
|
||||
// isn't enough in custom resolution)
|
||||
@@ -281,7 +281,7 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con
|
||||
|
||||
// Gregory: to avoid a massive slow down for nothing, let's only enable
|
||||
// this code when CRC is below the FULL level
|
||||
if (m_crc_hack_level < 3)
|
||||
if (m_crc_hack_level < CRCHackLevel::Full)
|
||||
Read(t, t->m_valid);
|
||||
else
|
||||
dst = t;
|
||||
|
||||
Reference in new issue
Block a user