2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
2008-09-18 03:15:49 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CGameRecompilePage :
|
2015-12-23 19:59:14 +00:00
|
|
|
public CSettingsPageImpl<CGameRecompilePage>,
|
|
|
|
public CSettingsPage
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2015-12-23 19:59:14 +00:00
|
|
|
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)
|
|
|
|
END_MSG_MAP()
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-12-23 19:59:14 +00:00
|
|
|
enum { IDD = IDD_Settings_GameRecompiler };
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
public:
|
2015-12-23 19:59:14 +00:00
|
|
|
CGameRecompilePage(HWND hParent, const RECT & rcDispay);
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-12-23 19:59:14 +00:00
|
|
|
LanguageStringID PageTitle(void) { return TAB_RECOMPILER; }
|
|
|
|
void HidePage(void);
|
|
|
|
void ShowPage(void);
|
|
|
|
void ApplySettings(bool UpdateScreen);
|
|
|
|
bool EnableReset(void);
|
|
|
|
void ResetPage(void);
|
2008-11-14 20:51:06 +00:00
|
|
|
|
|
|
|
private:
|
2015-12-23 19:59:14 +00:00
|
|
|
CPartialGroupBox m_SelfModGroup;
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|