DMA: Add debug window

This commit is contained in:
Connor McLaughlin
2020-09-26 19:33:10 +10:00
parent 62dbaaf02c
commit 29467d40c8
7 changed files with 94 additions and 0 deletions

View File

@ -236,6 +236,7 @@ void Settings::Load(SettingsInterface& si)
debugging.show_spu_state = si.GetBoolValue("Debug", "ShowSPUState");
debugging.show_timers_state = si.GetBoolValue("Debug", "ShowTimersState");
debugging.show_mdec_state = si.GetBoolValue("Debug", "ShowMDECState");
debugging.show_dma_state = si.GetBoolValue("Debug", "ShowDMAState");
}
void Settings::Save(SettingsInterface& si) const
@ -349,6 +350,7 @@ void Settings::Save(SettingsInterface& si) const
si.SetBoolValue("Debug", "ShowSPUState", debugging.show_spu_state);
si.SetBoolValue("Debug", "ShowTimersState", debugging.show_timers_state);
si.SetBoolValue("Debug", "ShowMDECState", debugging.show_mdec_state);
si.SetBoolValue("Debug", "ShowDMAState", debugging.show_dma_state);
}
static std::array<const char*, LOGLEVEL_COUNT> s_log_level_names = {