mirror of
https://github.com/libretro/Play-.git
synced 2024-11-28 03:00:49 +00:00
Added proper support for stepping in VU0 microprograms.
This commit is contained in:
parent
c1e38550fb
commit
b24364f3d4
@ -162,6 +162,13 @@ void CPS2VM::StepIop()
|
||||
m_mailBox.SendCall(std::bind(&CPS2VM::ResumeImpl, this), true);
|
||||
}
|
||||
|
||||
void CPS2VM::StepVu0()
|
||||
{
|
||||
if(GetStatus() == RUNNING) return;
|
||||
m_singleStepVu0 = true;
|
||||
m_mailBox.SendCall(std::bind(&CPS2VM::ResumeImpl, this), true);
|
||||
}
|
||||
|
||||
void CPS2VM::StepVu1()
|
||||
{
|
||||
if(GetStatus() == RUNNING) return;
|
||||
|
@ -48,6 +48,7 @@ public:
|
||||
|
||||
void StepEe();
|
||||
void StepIop();
|
||||
void StepVu0();
|
||||
void StepVu1();
|
||||
|
||||
void Resume();
|
||||
|
@ -71,7 +71,7 @@ CDebugger::CDebugger(CPS2VM& virtualMachine)
|
||||
m_pView[DEBUGVIEW_EE] = new CDebugView(m_pMDIClient->m_hWnd, m_virtualMachine, &m_virtualMachine.m_ee->m_EE,
|
||||
std::bind(&CPS2VM::StepEe, &m_virtualMachine), m_virtualMachine.m_ee->m_os, "EmotionEngine");
|
||||
m_pView[DEBUGVIEW_VU0] = new CDebugView(m_pMDIClient->m_hWnd, m_virtualMachine, &m_virtualMachine.m_ee->m_VU0,
|
||||
std::bind(&CPS2VM::StepEe, &m_virtualMachine), nullptr, "Vector Unit 0", CDisAsmWnd::DISASM_VU);
|
||||
std::bind(&CPS2VM::StepVu0, &m_virtualMachine), nullptr, "Vector Unit 0", CDisAsmWnd::DISASM_VU);
|
||||
m_pView[DEBUGVIEW_VU1] = new CDebugView(m_pMDIClient->m_hWnd, m_virtualMachine, &m_virtualMachine.m_ee->m_VU1,
|
||||
std::bind(&CPS2VM::StepVu1, &m_virtualMachine), nullptr, "Vector Unit 1", CDisAsmWnd::DISASM_VU);
|
||||
m_pView[DEBUGVIEW_IOP] = new CDebugView(m_pMDIClient->m_hWnd, m_virtualMachine, &m_virtualMachine.m_iop->m_cpu,
|
||||
|
Loading…
Reference in New Issue
Block a user