mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix resizing problems when rendering to main (here's your fix JP :p) + another wiimote recording crash
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3318 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ba3ceeafb7
commit
6525ca5c58
@ -657,7 +657,6 @@ void CFrame::OnHelp(wxCommandEvent& event)
|
|||||||
void CFrame::OnNetPlay(wxCommandEvent& WXUNUSED (event))
|
void CFrame::OnNetPlay(wxCommandEvent& WXUNUSED (event))
|
||||||
{
|
{
|
||||||
#if defined(HAVE_SFML) && HAVE_SFML
|
#if defined(HAVE_SFML) && HAVE_SFML
|
||||||
|
|
||||||
new NetPlay(this, m_GameListCtrl->GetGamePaths(), m_GameListCtrl->GetGameNames());
|
new NetPlay(this, m_GameListCtrl->GetGamePaths(), m_GameListCtrl->GetGameNames());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -715,6 +714,7 @@ void CFrame::OnLoadState(wxCommandEvent& event)
|
|||||||
|
|
||||||
void CFrame::OnResize(wxSizeEvent& event)
|
void CFrame::OnResize(wxSizeEvent& event)
|
||||||
{
|
{
|
||||||
|
FitInside();
|
||||||
DoMoveIcons(); // In FrameWiimote.cpp
|
DoMoveIcons(); // In FrameWiimote.cpp
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
@ -454,7 +454,7 @@ void ConfigDialog::RecordMovement(wxCommandEvent& event)
|
|||||||
m_RecordButton[m_iRecordTo]->SetLabel(wxT("Press +"));
|
m_RecordButton[m_iRecordTo]->SetLabel(wxT("Press +"));
|
||||||
// This is for usability purposes, it may not be obvious at all that this must be unchecked
|
// This is for usability purposes, it may not be obvious at all that this must be unchecked
|
||||||
// for the recording to work
|
// for the recording to work
|
||||||
for(int i = 0; i < 4; i++) m_UseRealWiimote[i]->SetValue(false); g_Config.bUseRealWiimote = false;
|
for(int i = 0; i < 1; i++) m_UseRealWiimote[i]->SetValue(false); g_Config.bUseRealWiimote = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user