Remove support for projection hacks

This isn't really useful for anything anymore as far as I know.
This commit is contained in:
JosJuice
2018-04-01 21:27:06 +02:00
parent 76e1a5b892
commit 91732e2baf
14 changed files with 4 additions and 228 deletions

View File

@ -50,22 +50,12 @@ enum class ShaderCompilationMode : int
AsynchronousSkipRendering
};
struct ProjectionHackConfig final
{
bool m_enable;
bool m_sznear;
bool m_szfar;
std::string m_znear;
std::string m_zfar;
};
// NEVER inherit from this class.
struct VideoConfig final
{
VideoConfig();
void Refresh();
void VerifyValidity();
void UpdateProjectionHack();
bool IsVSync() const;
// General
@ -130,7 +120,6 @@ struct VideoConfig final
bool bImmediateXFB;
bool bCopyEFBScaled;
int iSafeTextureCache_ColorSamples;
ProjectionHackConfig phack;
float fAspectRatioHackW, fAspectRatioHackH;
bool bEnablePixelLighting;
bool bFastDepthCalc;