project64/Source/Project64/UserInterface/Settings/SettingsPage-Game-Recompiler.h

45 lines
1.3 KiB
C
Raw Normal View History

2016-01-27 09:11:59 +00:00
#pragma once
2022-09-21 05:16:07 +00:00
#include "SettingsPage.h"
2016-01-27 09:11:59 +00:00
class CGameRecompilePage :
public CSettingsPageImpl<CGameRecompilePage>,
public CSettingsPage
{
BEGIN_MSG_MAP_EX(CGameRecompilePage)
{
COMMAND_HANDLER_EX(IDC_CPU_TYPE, LBN_SELCHANGE, ComboBoxChanged);
COMMAND_HANDLER_EX(IDC_FUNCFIND, LBN_SELCHANGE, ComboBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_ROM_REGCACHE, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_ROM_FASTSP, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_BLOCK_LINKING, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_CACHE, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_DMA, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_VALIDATE, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_TLB, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_PROTECT, CheckBoxChanged);
COMMAND_ID_HANDLER_EX(IDC_SMM_STORE, CheckBoxChanged);
}
2016-01-27 09:11:59 +00:00
END_MSG_MAP()
enum
{
IDD = IDD_Settings_GameRecompiler
};
2016-01-27 09:11:59 +00:00
public:
CGameRecompilePage(HWND hParent, const RECT & rcDispay);
LanguageStringID PageTitle(void)
{
return TAB_RECOMPILER;
}
void HidePage(void);
void ShowPage(void);
void ApplySettings(bool UpdateScreen);
bool EnableReset(void);
void ResetPage(void);
2016-01-27 09:11:59 +00:00
private:
CPartialGroupBox m_SelfModGroup;
};