mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GUI: Better perspective saving, bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4114 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -325,12 +325,7 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Toogle windows
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
int CCodeWindow::Limit(int i, int Low, int High)
|
||||
{
|
||||
if (i < Low) return Low;
|
||||
if (i > High) return High;
|
||||
return i;
|
||||
}
|
||||
|
||||
void CCodeWindow::OpenPages()
|
||||
{
|
||||
Parent->DoToggleWindow(IDM_CODEWINDOW, true);
|
||||
@ -369,7 +364,7 @@ void CCodeWindow::OnToggleBreakPointWindow(bool Show, int i)
|
||||
{
|
||||
if (Show)
|
||||
{
|
||||
if (!m_RegisterWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent);
|
||||
if (!m_BreakpointWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent);
|
||||
Parent->DoAddPage(m_BreakpointWindow, i, "Breakpoints");
|
||||
}
|
||||
else // hide
|
||||
|
Reference in New Issue
Block a user