mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:gui: init all members in constructor
This commit is contained in:
parent
e41f786c72
commit
4d8a23c1fc
|
@ -219,10 +219,12 @@ struct AppImageIds
|
||||||
|
|
||||||
ToolbarIds()
|
ToolbarIds()
|
||||||
{
|
{
|
||||||
Settings = Play =
|
Settings = -1;
|
||||||
PluginVideo =
|
Play = -1;
|
||||||
PluginAudio =
|
Resume = -1;
|
||||||
PluginPad = -1;
|
PluginVideo = -1;
|
||||||
|
PluginAudio = -1;
|
||||||
|
PluginPad = -1;
|
||||||
}
|
}
|
||||||
} Toolbars;
|
} Toolbars;
|
||||||
};
|
};
|
||||||
|
|
|
@ -697,10 +697,13 @@ Pcsx2App::Pcsx2App()
|
||||||
|
|
||||||
m_PendingSaves = 0;
|
m_PendingSaves = 0;
|
||||||
m_ScheduledTermination = false;
|
m_ScheduledTermination = false;
|
||||||
|
m_UseGUI = true;
|
||||||
|
m_NoGuiExitPrompt = true;
|
||||||
|
|
||||||
m_id_MainFrame = wxID_ANY;
|
m_id_MainFrame = wxID_ANY;
|
||||||
m_id_GsFrame = wxID_ANY;
|
m_id_GsFrame = wxID_ANY;
|
||||||
m_id_ProgramLogBox = wxID_ANY;
|
m_id_ProgramLogBox = wxID_ANY;
|
||||||
|
m_id_Disassembler = wxID_ANY;
|
||||||
m_ptr_ProgramLog = NULL;
|
m_ptr_ProgramLog = NULL;
|
||||||
|
|
||||||
SetAppName( L"PCSX2" );
|
SetAppName( L"PCSX2" );
|
||||||
|
|
|
@ -1090,6 +1090,7 @@ public:
|
||||||
SysExecEvent_Execute()
|
SysExecEvent_Execute()
|
||||||
: m_UseCDVDsrc(false)
|
: m_UseCDVDsrc(false)
|
||||||
, m_UseELFOverride(false)
|
, m_UseELFOverride(false)
|
||||||
|
, m_cdvdsrc_type(CDVDsrc_Iso)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,7 +165,7 @@ protected:
|
||||||
ConsoleColors color;
|
ConsoleColors color;
|
||||||
int startpoint;
|
int startpoint;
|
||||||
|
|
||||||
ColorSection() {}
|
ColorSection() : color(Color_Default), startpoint(0) {}
|
||||||
ColorSection( ConsoleColors _color, int msgptr ) : color(_color), startpoint(msgptr) { }
|
ColorSection( ConsoleColors _color, int msgptr ) : color(_color), startpoint(msgptr) { }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,9 @@ CtrlRegisterList::CtrlRegisterList(wxWindow* parent, DebugInterface* _cpu)
|
||||||
{
|
{
|
||||||
rowHeight = g_Conf->EmuOptions.Debugger.FontHeight+2;
|
rowHeight = g_Conf->EmuOptions.Debugger.FontHeight+2;
|
||||||
charWidth = g_Conf->EmuOptions.Debugger.FontWidth;
|
charWidth = g_Conf->EmuOptions.Debugger.FontWidth;
|
||||||
category = 0;
|
category = 0;
|
||||||
maxBits = 128;
|
maxBits = 128;
|
||||||
|
lastPc = 0xFFFFFFFF;
|
||||||
|
|
||||||
for (int i = 0; i < cpu->getRegisterCategoryCount(); i++)
|
for (int i = 0; i < cpu->getRegisterCategoryCount(); i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue