mirror of https://github.com/PCSX2/pcsx2.git
Hacked in a working synchronized MTGS option in the Video panel (it's the only option that actually works at the moment). For debugging purposes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2237 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
bb64ecfcf2
commit
03909ce78c
|
@ -204,6 +204,8 @@ namespace Panels
|
||||||
class VideoPanel : public BaseApplicableConfigPanel
|
class VideoPanel : public BaseApplicableConfigPanel
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
pxCheckBox* m_check_SynchronousGS;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
VideoPanel( wxWindow* parent );
|
VideoPanel( wxWindow* parent );
|
||||||
virtual ~VideoPanel() throw() {}
|
virtual ~VideoPanel() throw() {}
|
||||||
|
|
|
@ -236,6 +236,10 @@ void Panels::GSWindowSettingsPanel::Apply()
|
||||||
Panels::VideoPanel::VideoPanel( wxWindow* parent ) :
|
Panels::VideoPanel::VideoPanel( wxWindow* parent ) :
|
||||||
BaseApplicableConfigPanel( parent )
|
BaseApplicableConfigPanel( parent )
|
||||||
{
|
{
|
||||||
|
m_check_SynchronousGS = new pxCheckBox( this, _("Force Synchronized MTGS"),
|
||||||
|
_("For troubleshooting possible bugs in the MTGS. Enabling this option will be a big slowdown.")
|
||||||
|
);
|
||||||
|
|
||||||
wxPanelWithHelpers* left = new wxPanelWithHelpers( this, wxVERTICAL );
|
wxPanelWithHelpers* left = new wxPanelWithHelpers( this, wxVERTICAL );
|
||||||
wxPanelWithHelpers* right = new wxPanelWithHelpers( this, wxVERTICAL );
|
wxPanelWithHelpers* right = new wxPanelWithHelpers( this, wxVERTICAL );
|
||||||
left->SetIdealWidth( (left->GetIdealWidth()-16) / 2 );
|
left->SetIdealWidth( (left->GetIdealWidth()-16) / 2 );
|
||||||
|
@ -256,14 +260,18 @@ Panels::VideoPanel::VideoPanel( wxWindow* parent ) :
|
||||||
*s_table += right | StdExpand();
|
*s_table += right | StdExpand();
|
||||||
|
|
||||||
*this += Heading(L"This panel is not implemented yet.\nIT DOES NOT WORK. AT ALL.");
|
*this += Heading(L"This panel is not implemented yet.\nIT DOES NOT WORK. AT ALL.");
|
||||||
|
*this += m_check_SynchronousGS;
|
||||||
*this += s_table;
|
*this += s_table;
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// Framelimiting / Frameskipping / Vsync
|
// Framelimiting / Frameskipping / Vsync
|
||||||
// GS Window Options ( incl. Fullscreen )
|
// GS Window Options ( incl. Fullscreen )
|
||||||
// MTGS Forced Synchronization
|
// MTGS Forced Synchronization
|
||||||
|
|
||||||
|
m_check_SynchronousGS->SetValue( g_Conf->EmuOptions.Video.SynchronousMTGS );
|
||||||
}
|
}
|
||||||
|
|
||||||
void Panels::VideoPanel::Apply()
|
void Panels::VideoPanel::Apply()
|
||||||
{
|
{
|
||||||
|
g_Conf->EmuOptions.Video.SynchronousMTGS = m_check_SynchronousGS->GetValue();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue