[Glide64] Make advanced setting private
This commit is contained in:
parent
1f6fb6b483
commit
752ade92f0
|
@ -757,7 +757,7 @@ COptionsSheet::COptionsSheet(_U_STRINGorID /*title*/, UINT /*uStartPage*/, HWND
|
|||
m_hTextureEnhancement(0)
|
||||
{
|
||||
AddPage(&m_pgBasicPage->m_psp);
|
||||
if (g_settings->advanced_options)
|
||||
if (g_settings->advanced_options())
|
||||
{
|
||||
AddPage(&m_pgEmuSettings->m_psp);
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ CSettings::CSettings() :
|
|||
m_res_y(GetScreenResHeight(GetDefaultScreenRes())),
|
||||
m_scr_res_y(GetScreenResHeight(GetDefaultScreenRes())),
|
||||
m_ScreenRes(GetDefaultScreenRes()),
|
||||
advanced_options(0),
|
||||
m_advanced_options(false),
|
||||
texenh_options(0),
|
||||
vsync(0),
|
||||
m_rotate(Rotate_None),
|
||||
|
@ -384,7 +384,7 @@ void CSettings::ReadSettings()
|
|||
#endif
|
||||
this->vsync = GetSetting(Set_vsync);
|
||||
m_rotate = (ScreenRotate_t)GetSetting(Set_Rotate);
|
||||
this->advanced_options = Set_basic_mode ? !GetSystemSetting(Set_basic_mode) : 0;
|
||||
m_advanced_options = Set_basic_mode ? GetSystemSetting(Set_basic_mode) == 0 : false;
|
||||
this->texenh_options = GetSetting(Set_texenh_options);
|
||||
|
||||
this->wrpVRAM = GetSetting(Set_wrpVRAM);
|
||||
|
|
|
@ -146,7 +146,6 @@ public:
|
|||
};
|
||||
|
||||
|
||||
int advanced_options;
|
||||
int texenh_options;
|
||||
int vsync;
|
||||
|
||||
|
@ -184,6 +183,7 @@ public:
|
|||
inline uint32_t scr_res_x(void) const { return m_scr_res_x; }
|
||||
inline uint32_t scr_res_y(void) const { return m_scr_res_y; }
|
||||
inline uint32_t ScreenRes(void) const { return m_ScreenRes; }
|
||||
inline bool advanced_options(void) const { return m_advanced_options; }
|
||||
inline bool FlushLogs(void) const { return m_FlushLogs; }
|
||||
inline ScreenRotate_t rotate(void) const { return m_rotate; }
|
||||
inline Filtering_t filtering(void) const { return m_filtering; }
|
||||
|
@ -295,6 +295,7 @@ private:
|
|||
Filtering_t m_filtering;
|
||||
SwapMode_t m_swapmode;
|
||||
PixelLevelOfDetail_t m_lodmode;
|
||||
bool m_advanced_options;
|
||||
TextureFilter_t m_ghq_fltr;
|
||||
TextureEnhancement_t m_ghq_enht;
|
||||
ucode_t m_ucode;
|
||||
|
|
Loading…
Reference in New Issue