Qt: Add missing DMA state to debug menu

This commit is contained in:
Connor McLaughlin 2020-11-06 00:27:45 +10:00
parent 8e0ee7e9c5
commit e1ffb5e385
2 changed files with 11 additions and 0 deletions

View File

@ -913,6 +913,8 @@ void MainWindow::connectSignals()
"ShowTimersState");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionDebugShowMDECState, "Debug",
"ShowMDECState");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionDebugShowDMAState, "Debug",
"ShowDMAState");
addThemeToMenu(tr("Default"), QStringLiteral("default"));
addThemeToMenu(tr("Fusion"), QStringLiteral("fusion"));

View File

@ -182,6 +182,7 @@
<addaction name="actionDebugShowSPUState"/>
<addaction name="actionDebugShowTimersState"/>
<addaction name="actionDebugShowMDECState"/>
<addaction name="actionDebugShowDMAState"/>
</widget>
<widget class="QMenu" name="menu_View">
<property name="title">
@ -638,6 +639,14 @@
<string>Show MDEC State</string>
</property>
</action>
<action name="actionDebugShowDMAState">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Show DMA State</string>
</property>
</action>
<action name="actionScreenshot">
<property name="icon">
<iconset resource="resources/resources.qrc">