mirror of https://github.com/PCSX2/pcsx2.git
Enable debugger in release builds. Let's see if it negatively affects anythi
This commit is contained in:
parent
1f7d6461c5
commit
854574af66
|
@ -230,11 +230,9 @@ void SysCoreThread::GameStartingInThread()
|
||||||
{
|
{
|
||||||
GetMTGS().SendGameCRC(ElfCRC);
|
GetMTGS().SendGameCRC(ElfCRC);
|
||||||
|
|
||||||
#ifdef PCSX2_DEVBUILD
|
|
||||||
MIPSAnalyst::ScanForFunctions(ElfTextRange.first,ElfTextRange.first+ElfTextRange.second,true);
|
MIPSAnalyst::ScanForFunctions(ElfTextRange.first,ElfTextRange.first+ElfTextRange.second,true);
|
||||||
symbolMap.UpdateActiveSymbols();
|
symbolMap.UpdateActiveSymbols();
|
||||||
sApp.PostAppMethod(&Pcsx2App::resetDebugger);
|
sApp.PostAppMethod(&Pcsx2App::resetDebugger);
|
||||||
#endif
|
|
||||||
|
|
||||||
if (EmuConfig.EnablePatches) ApplyPatch(0);
|
if (EmuConfig.EnablePatches) ApplyPatch(0);
|
||||||
if (EmuConfig.EnableCheats) ApplyCheat(0);
|
if (EmuConfig.EnableCheats) ApplyCheat(0);
|
||||||
|
|
|
@ -339,9 +339,8 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
|
||||||
m_menubar.Append( &m_menuCDVD, _("CD&VD") );
|
m_menubar.Append( &m_menuCDVD, _("CD&VD") );
|
||||||
m_menubar.Append( &m_menuConfig, _("&Config") );
|
m_menubar.Append( &m_menuConfig, _("&Config") );
|
||||||
m_menubar.Append( &m_menuMisc, _("&Misc") );
|
m_menubar.Append( &m_menuMisc, _("&Misc") );
|
||||||
#ifdef PCSX2_DEVBUILD
|
|
||||||
m_menubar.Append( &m_menuDebug, _("&Debug") );
|
m_menubar.Append( &m_menuDebug, _("&Debug") );
|
||||||
#endif
|
|
||||||
SetMenuBar( &m_menubar );
|
SetMenuBar( &m_menubar );
|
||||||
|
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
@ -507,11 +506,10 @@ MainEmuFrame::MainEmuFrame(wxWindow* parent, const wxString& title)
|
||||||
m_menuMisc.AppendSeparator();
|
m_menuMisc.AppendSeparator();
|
||||||
m_menuMisc.Append( MenuId_ChangeLang, L"Change Language" ); // Always in English
|
m_menuMisc.Append( MenuId_ChangeLang, L"Change Language" ); // Always in English
|
||||||
|
|
||||||
#ifdef PCSX2_DEVBUILD
|
|
||||||
m_menuDebug.Append(MenuId_Debug_Open, _("Open Debug Window..."), wxEmptyString);
|
m_menuDebug.Append(MenuId_Debug_Open, _("Open Debug Window..."), wxEmptyString);
|
||||||
//m_menuDebug.Append(MenuId_Debug_MemoryDump, _("Memory Dump..."), wxEmptyString);
|
//m_menuDebug.Append(MenuId_Debug_MemoryDump, _("Memory Dump..."), wxEmptyString);
|
||||||
m_menuDebug.Append(MenuId_Debug_Logging, _("Logging..."), wxEmptyString);
|
m_menuDebug.Append(MenuId_Debug_Logging, _("Logging..."), wxEmptyString);
|
||||||
#endif
|
|
||||||
m_MenuItem_Console.Check( g_Conf->ProgLogBox.Visible );
|
m_MenuItem_Console.Check( g_Conf->ProgLogBox.Visible );
|
||||||
|
|
||||||
ConnectMenus();
|
ConnectMenus();
|
||||||
|
|
Loading…
Reference in New Issue