mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 06:35:39 +00:00
Actually fixes crashing on start up.
This commit is contained in:
parent
cbc84ecd72
commit
82cb14e49b
@ -635,24 +635,22 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
|
||||
{
|
||||
*v = (u8) (value > 255 ? 255 : value);
|
||||
slider->SetValue(*v);
|
||||
|
||||
}
|
||||
|
||||
if(update == 1)
|
||||
{
|
||||
if(update_axis == 1)
|
||||
|
||||
if(update == 1)
|
||||
{
|
||||
xaxis = *v;
|
||||
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
|
||||
}
|
||||
if(update_axis == 1)
|
||||
{
|
||||
xaxis = *v;
|
||||
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
|
||||
}
|
||||
|
||||
if(update_axis == 2)
|
||||
{
|
||||
yaxis =256 - *v;
|
||||
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
|
||||
}
|
||||
if(update_axis == 2)
|
||||
{
|
||||
yaxis =256 - *v;
|
||||
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if(update == 2)
|
||||
{
|
||||
@ -669,7 +667,7 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user