mirror of https://github.com/PCSX2/pcsx2.git
GS Debugger: Fix Length of dump.
This commit is contained in:
parent
af585bffa9
commit
bb55c320c1
|
@ -576,8 +576,8 @@ DebugTab::DebugTab(wxWindow* parent)
|
|||
|
||||
auto* dump_grid = new wxFlexGridSizer(2, space, space);
|
||||
|
||||
start_dump_spin = m_ui.addSpinAndLabel(dump_grid, "Start of Dump:", "saven", 0, pow(10, 9), 0).first;
|
||||
end_dump_spin = m_ui.addSpinAndLabel(dump_grid, "End of Dump:", "savel", 0, pow(10, 5), 5000).first;
|
||||
m_ui.addSpinAndLabel(dump_grid, "Start of Dump:", "saven", 0, pow(10, 9), 0);
|
||||
m_ui.addSpinAndLabel(dump_grid, "Length of Dump:", "savel", 1, pow(10, 5), 5000);
|
||||
|
||||
debug_box->AddSpacer(space);
|
||||
debug_box->Add(dump_grid);
|
||||
|
@ -600,10 +600,6 @@ DebugTab::DebugTab(wxWindow* parent)
|
|||
void DebugTab::DoUpdate()
|
||||
{
|
||||
m_ui.Update();
|
||||
if (!end_dump_spin || !start_dump_spin)
|
||||
return;
|
||||
if (end_dump_spin->GetValue() < start_dump_spin->GetValue())
|
||||
end_dump_spin->SetValue(start_dump_spin->GetValue());
|
||||
}
|
||||
|
||||
Dialog::Dialog()
|
||||
|
|
|
@ -139,8 +139,6 @@ namespace GSSettingsDialog
|
|||
{
|
||||
public:
|
||||
GSUIElementHolder m_ui;
|
||||
wxSpinCtrl* start_dump_spin = nullptr;
|
||||
wxSpinCtrl* end_dump_spin = nullptr;
|
||||
bool m_is_ogl_hw = false;
|
||||
|
||||
DebugTab(wxWindow* parent);
|
||||
|
|
Loading…
Reference in New Issue