mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
- Fixed sys_ppu_thread_exit.
- Disabled some dbg tools.
This commit is contained in:
parent
0aff049960
commit
2f5fa75bb4
16 changed files with 152 additions and 113 deletions
|
|
@ -10,8 +10,8 @@ PPCThread* GetCurrentPPCThread()
|
|||
PPCThread::PPCThread(PPCThreadType type)
|
||||
: ThreadBase(true, "PPCThread")
|
||||
, m_type(type)
|
||||
, DisAsmFrame(NULL)
|
||||
, m_dec(NULL)
|
||||
, DisAsmFrame(nullptr)
|
||||
, m_dec(nullptr)
|
||||
, stack_size(0)
|
||||
, stack_addr(0)
|
||||
, m_prio(0)
|
||||
|
|
@ -28,12 +28,13 @@ PPCThread::~PPCThread()
|
|||
|
||||
void PPCThread::Close()
|
||||
{
|
||||
Stop();
|
||||
if(DisAsmFrame)
|
||||
{
|
||||
DisAsmFrame->Close();
|
||||
DisAsmFrame = nullptr;
|
||||
}
|
||||
|
||||
Stop();
|
||||
}
|
||||
|
||||
void PPCThread::Reset()
|
||||
|
|
@ -260,12 +261,11 @@ void PPCThread::Stop()
|
|||
wxGetApp().SendDbgCommand(DID_STOP_THREAD, this);
|
||||
|
||||
m_status = Stopped;
|
||||
ThreadBase::Stop();
|
||||
Reset();
|
||||
DoStop();
|
||||
Emu.CheckStatus();
|
||||
|
||||
ThreadBase::Stop();
|
||||
|
||||
wxGetApp().SendDbgCommand(DID_STOPED_THREAD, this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue