mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 07:05:45 -04:00
DMA: Add debug window
This commit is contained in:
@ -1073,6 +1073,7 @@ void SDLHostInterface::DrawDebugMenu()
|
||||
settings_changed |= ImGui::MenuItem("Show SPU State", nullptr, &debug_settings.show_spu_state);
|
||||
settings_changed |= ImGui::MenuItem("Show Timers State", nullptr, &debug_settings.show_timers_state);
|
||||
settings_changed |= ImGui::MenuItem("Show MDEC State", nullptr, &debug_settings.show_mdec_state);
|
||||
settings_changed |= ImGui::MenuItem("Show DMA State", nullptr, &debug_settings.show_dma_state);
|
||||
|
||||
if (settings_changed)
|
||||
{
|
||||
@ -1086,6 +1087,7 @@ void SDLHostInterface::DrawDebugMenu()
|
||||
debug_settings_copy.show_spu_state = debug_settings.show_spu_state;
|
||||
debug_settings_copy.show_timers_state = debug_settings.show_timers_state;
|
||||
debug_settings_copy.show_mdec_state = debug_settings.show_mdec_state;
|
||||
debug_settings_copy.show_dma_state = debug_settings.show_dma_state;
|
||||
RunLater([this]() { SaveAndUpdateSettings(); });
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user