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
|
|
|
|
|
2015-12-04 06:49:31 +00:00
|
|
|
#include "../WTLControls/ModifiedCheckBox.h"
|
|
|
|
#include <N64System/N64Types.h>
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
class CGameGeneralPage :
|
2015-11-07 01:11:25 +00:00
|
|
|
public CSettingsPageImpl<CGameGeneralPage>,
|
|
|
|
public CSettingsPage
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2015-11-07 01:11:25 +00:00
|
|
|
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_USE_TLB,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)
|
|
|
|
COMMAND_HANDLER_EX(IDC_VIREFRESH,EN_UPDATE,EditBoxChanged)
|
|
|
|
COMMAND_HANDLER_EX(IDC_COUNTPERBYTE,EN_UPDATE,EditBoxChanged)
|
|
|
|
END_MSG_MAP()
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-11-07 01:11:25 +00:00
|
|
|
enum { IDD = IDD_Settings_GameGeneral };
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
public:
|
2015-11-07 01:11:25 +00:00
|
|
|
CGameGeneralPage(HWND hParent, const RECT & rcDispay );
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2015-11-07 01:11:25 +00:00
|
|
|
LanguageStringID PageTitle ( void ) { return TAB_ROMSETTINGS; }
|
|
|
|
void HidePage ( void );
|
|
|
|
void ShowPage ( void );
|
|
|
|
void ApplySettings ( bool UpdateScreen );
|
|
|
|
bool EnableReset ( void );
|
|
|
|
void ResetPage ( void );
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|