mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
gsdx: Add an automatic CRC hack level
If a user switches renderer they also have to remember to change the CRC hack level for the best user experience with the selected renderer. This commit adds a new automatic CRC level that autoselects the recommended CRC level for the selected renderer, so that a user doesn't have to make the change manually. coauthor: turtleli
This commit is contained in:
1 parent
439472d4f8
commit
a18d624bcb
10 files changed
+38
-32
No files matched your search
@@ -22,7 +22,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "GSState.h"
|
||||
#include "GSdx.h"
|
||||
|
||||
#include "GSUtil.h"
|
||||
|
||||
//#define Offset_ST // Fixes Persona3 mini map alignment which is off even in software rendering
|
||||
|
||||
@@ -78,7 +78,9 @@ GSState::GSState()
|
||||
//s_savel = 0;
|
||||
|
||||
UserHacks_WildHack = theApp.GetConfigB("UserHacks") ? theApp.GetConfigI("UserHacks_WildHack") : 0;
|
||||
m_crc_hack_level = static_cast<CRCHackLevel>(theApp.GetConfigI("crc_hack_level"));
|
||||
m_crc_hack_level = theApp.GetConfigT<CRCHackLevel>("crc_hack_level");
|
||||
if (m_crc_hack_level == CRCHackLevel::Automatic)
|
||||
m_crc_hack_level = GSUtil::GetRecommendedCRCHackLevel(theApp.GetCurrentRendererType());
|
||||
|
||||
memset(&m_v, 0, sizeof(m_v));
|
||||
memset(&m_vertex, 0, sizeof(m_vertex));
|
||||
|
||||
Reference in new issue
Block a user