2016-01-27 09:11:59 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-21 05:16:07 +00:00
|
|
|
#include <Project64\UserInterface\WTLControls\ModifiedCheckBox.h>
|
2016-01-27 09:11:59 +00:00
|
|
|
#include <Project64-core/N64System/N64Types.h>
|
2022-09-21 05:16:07 +00:00
|
|
|
#include "SettingsPage.h"
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
class CGameGeneralPage :
|
|
|
|
public CSettingsPageImpl<CGameGeneralPage>,
|
|
|
|
public CSettingsPage
|
|
|
|
{
|
|
|
|
BEGIN_MSG_MAP_EX(CGameGeneralPage)
|
|
|
|
COMMAND_HANDLER_EX(IDC_RDRAM_SIZE, LBN_SELCHANGE, ComboBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_SAVE_TYPE, LBN_SELCHANGE, ComboBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTFACT, LBN_SELCHANGE, ComboBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ROM_32BIT, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_SYNC_AUDIO, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_ROM_FIXEDAUDIO, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DELAY_DP, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_DELAY_SI, CheckBoxChanged)
|
|
|
|
COMMAND_ID_HANDLER_EX(IDC_AUDIO_SIGNAL, CheckBoxChanged)
|
2018-12-28 12:09:38 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_UNALIGNED_DMA, CheckBoxChanged)
|
2019-10-02 22:18:19 +00:00
|
|
|
COMMAND_ID_HANDLER_EX(IDC_RANDOMIZE_SIPI_INTERRUPTS, CheckBoxChanged)
|
2016-01-27 09:11:59 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_VIREFRESH, EN_UPDATE, EditBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTPERBYTE, EN_UPDATE, EditBoxChanged)
|
2019-04-20 03:43:30 +00:00
|
|
|
COMMAND_HANDLER_EX(IDC_OVER_CLOCK_MODIFIER, EN_UPDATE, EditBoxChanged)
|
2018-11-25 09:44:15 +00:00
|
|
|
END_MSG_MAP()
|
2016-01-27 09:11:59 +00:00
|
|
|
|
|
|
|
enum { IDD = IDD_Settings_GameGeneral };
|
|
|
|
|
|
|
|
public:
|
|
|
|
CGameGeneralPage(HWND hParent, const RECT & rcDispay);
|
|
|
|
|
|
|
|
LanguageStringID PageTitle(void) { return TAB_ROMSETTINGS; }
|
|
|
|
void HidePage(void);
|
|
|
|
void ShowPage(void);
|
|
|
|
void ApplySettings(bool UpdateScreen);
|
|
|
|
bool EnableReset(void);
|
|
|
|
void ResetPage(void);
|
|
|
|
};
|