[Glide64] Remove unused unk_clear

This commit is contained in:
zilmar 2017-03-13 05:12:09 +11:00
parent fdd753f31d
commit 28cdaaff48
3 changed files with 1 additions and 7 deletions

View File

@ -56,7 +56,6 @@ CSettings::CSettings() :
m_autodetect_ucode(true),
m_ucode(ucode_Fast3D),
m_unk_as_red(false),
unk_clear(0),
wireframe(0),
wfmode(0),
@ -134,7 +133,6 @@ void CSettings::RegisterSettings(void)
general_setting(Set_wireframe, "wireframe", 0);
general_setting(Set_wfmode, "wfmode", 1);
general_setting(Set_unk_as_red, "unk_as_red", false);
general_setting(Set_unk_clear, "unk_clear", 0);
general_setting(Set_ghq_fltr, "ghq_fltr", TextureFilter_None);
general_setting(Set_ghq_cmpr, "ghq_cmpr", TextureCompression_S3TC);
general_setting(Set_ghq_enht, "ghq_enht", TextureEnht_None);
@ -557,11 +555,9 @@ void CSettings::ReadSettings()
#ifndef _ENDUSER_RELEASE_
this->wireframe = GetSetting(Set_wireframe);
this->wfmode = GetSetting(Set_wfmode);
this->unk_clear = GetSetting(Set_unk_clear);
#else
this->wireframe = FALSE;
this->wfmode = 0;
this->unk_clear = FALSE;
#endif
m_ucode = ucode_F3DEX2;
@ -835,7 +831,6 @@ void CSettings::WriteSettings(void)
SetSetting(Set_ucode, (int)g_settings->ucode);
SetSetting(Set_wireframe, g_settings->wireframe);
SetSetting(Set_wfmode, g_settings->wfmode);
SetSetting(Set_unk_clear, g_settings->unk_clear);
#endif //_ENDUSER_RELEASE_
SetSetting(Set_ghq_fltr, m_ghq_fltr);

View File

@ -225,7 +225,6 @@ public:
inline bool autodetect_ucode(void) const { return m_autodetect_ucode; }
inline ucode_t ucode(void) const { return m_ucode; }
inline bool unk_as_red(void) const { return m_unk_as_red; }
int unk_clear;
int wireframe;
int wfmode;

View File

@ -15,7 +15,7 @@ enum
// General Settings
Set_vsync, Set_Rotate, Set_texenh_options, Set_wrpVRAM,
Set_wrpFBO, Set_wrpAnisotropic, Set_autodetect_ucode, Set_ucode, Set_wireframe,
Set_wfmode, Set_unk_as_red, Set_unk_clear, Set_ghq_fltr,
Set_wfmode, Set_unk_as_red, Set_ghq_fltr,
Set_ghq_cmpr, Set_ghq_enht, Set_ghq_hirs, Set_ghq_enht_cmpr,
Set_ghq_enht_f16bpp, Set_ghq_enht_gz, Set_ghq_enht_nobg, Set_ghq_hirs_cmpr,
Set_ghq_hirs_tile, Set_ghq_hirs_f16bpp, Set_ghq_hirs_gz, Set_ghq_hirs_altcrc,