2018-11-25 09:44:15 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CDefaultsOptionsPage :
|
|
|
|
public CSettingsPageImpl<CDefaultsOptionsPage>,
|
|
|
|
public CSettingsPage
|
|
|
|
{
|
|
|
|
BEGIN_MSG_MAP_EX(CDefaultsOptionsPage)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_HLE_GFX, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ROM_32BIT, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_SYNC_AUDIO, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ROM_FIXEDAUDIO, CheckBoxChanged)
|
2019-10-02 22:18:19 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_UNALIGNED_DMA, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_RANDOMIZE_SIPI_INTERRUPTS, CheckBoxChanged)
|
2020-05-05 02:47:34 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_PROTECT_MEMORY, CheckBoxChanged)
|
2018-11-25 09:44:15 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_RDRAM_SIZE, LBN_SELCHANGE, ComboBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTFACT, LBN_SELCHANGE, ComboBoxChanged)
|
2021-01-29 22:37:27 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_DISKSEEKTIMING, LBN_SELCHANGE, ComboBoxChanged)
|
2018-11-25 09:44:15 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_VIREFRESH, EN_UPDATE, EditBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTPERBYTE, EN_UPDATE, EditBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_RDRAM_SIZE, EN_UPDATE, EditBoxChanged)
|
|
|
|
END_MSG_MAP()
|
|
|
|
|
|
|
|
enum { IDD = IDD_Settings_Defaults };
|
|
|
|
|
|
|
|
public:
|
|
|
|
CDefaultsOptionsPage(HWND hParent, const RECT & rcDispay );
|
|
|
|
|
|
|
|
LanguageStringID PageTitle ( void ) { return TAB_DEFAULTS; }
|
|
|
|
void HidePage ( void );
|
|
|
|
void ShowPage ( void );
|
|
|
|
void ApplySettings ( bool UpdateScreen );
|
|
|
|
bool EnableReset ( void );
|
|
|
|
void ResetPage ( void );
|
|
|
|
|
|
|
|
private:
|
|
|
|
void UpdatePageSettings(void);
|
|
|
|
|
|
|
|
bool m_InUpdateSettings;
|
|
|
|
};
|