mirror of https://github.com/PCSX2/pcsx2.git
Move debugger function list reset to when the debugger breaks in to the code. Stops a long freeze when first launching a game
This commit is contained in:
parent
f0d08aa7d0
commit
ea52da9428
|
@ -233,7 +233,7 @@ void SysCoreThread::GameStartingInThread()
|
|||
|
||||
MIPSAnalyst::ScanForFunctions(ElfTextRange.first,ElfTextRange.first+ElfTextRange.second,true);
|
||||
symbolMap.UpdateActiveSymbols();
|
||||
sApp.PostAppMethod(&Pcsx2App::resetDebugger);
|
||||
//sApp.PostAppMethod(&Pcsx2App::resetDebugger);
|
||||
|
||||
ApplyLoadedPatches(PPT_ONCE_ON_LOAD);
|
||||
#ifdef USE_SAVESLOT_UI_UPDATES
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "DebugTools/MipsStackWalk.h"
|
||||
#include "BreakpointWindow.h"
|
||||
#include "PathDefs.h"
|
||||
#include "wx/busyinfo.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
|
@ -610,6 +611,9 @@ void DisassemblyDialog::setDebugMode(bool debugMode, bool switchPC)
|
|||
|
||||
if (debugMode)
|
||||
{
|
||||
wxBusyInfo wait("Please wait, Reading ELF functions");
|
||||
reset();
|
||||
wait.~wxBusyInfo();
|
||||
CBreakPoints::ClearTemporaryBreakPoints();
|
||||
breakRunButton->SetLabel(L"Run");
|
||||
|
||||
|
|
Loading…
Reference in New Issue