mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
SPU Local Storage capture
This commit is contained in:
parent
73f96f48ee
commit
865464f607
5 changed files with 134 additions and 5 deletions
|
@ -234,7 +234,9 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
|||
|
||||
const u32 pc = m_debugger_list->m_pc + i * 4;
|
||||
|
||||
if (QApplication::keyboardModifiers() & Qt::ControlModifier)
|
||||
const auto modifiers = QApplication::keyboardModifiers();
|
||||
|
||||
if (modifiers & Qt::ControlModifier)
|
||||
{
|
||||
switch (event->key())
|
||||
{
|
||||
|
@ -261,7 +263,21 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
|||
dlg->show();
|
||||
return;
|
||||
}
|
||||
case Qt::Key_S:
|
||||
{
|
||||
if (modifiers & Qt::AltModifier)
|
||||
{
|
||||
const auto cpu = this->cpu.lock();
|
||||
|
||||
if (!cpu || cpu->id_type() == 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
static_cast<spu_thread*>(cpu.get())->capture_local_storage();
|
||||
}
|
||||
return;
|
||||
}
|
||||
case Qt::Key_F10:
|
||||
{
|
||||
DoStep(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue