GUI: make command stream player visible

window > debug > command stream player
This commit is contained in:
tildearrow 2025-04-05 03:22:48 -05:00
parent f7c2fce461
commit a49664a3f5
2 changed files with 3 additions and 2 deletions

View file

@ -80,8 +80,6 @@ void FurnaceGUI::drawDebug() {
ImGui::SameLine();
if (ImGui::Button("Pattern Advance")) e->haltWhen(DIV_HALT_PATTERN);
if (ImGui::Button("Play Command Stream")) nextWindow=GUI_WINDOW_CS_PLAYER;
if (ImGui::Button("Panic")) e->syncReset();
ImGui::SameLine();
if (ImGui::Button("Abort")) {

View file

@ -4708,6 +4708,7 @@ bool FurnaceGUI::loop() {
if (ImGui::MenuItem(_("register view"),BIND_FOR(GUI_ACTION_WINDOW_REGISTER_VIEW),regViewOpen)) regViewOpen=!regViewOpen;
if (ImGui::MenuItem(_("statistics"),BIND_FOR(GUI_ACTION_WINDOW_STATS),statsOpen)) statsOpen=!statsOpen;
if (ImGui::MenuItem(_("memory composition"),BIND_FOR(GUI_ACTION_WINDOW_MEMORY),memoryOpen)) memoryOpen=!memoryOpen;
if (ImGui::MenuItem(_("command stream player"),BIND_FOR(GUI_ACTION_WINDOW_CS_PLAYER),csPlayerOpen)) csPlayerOpen=!csPlayerOpen;
ImGui::EndMenu();
}
ImGui::Separator();
@ -7993,6 +7994,7 @@ void FurnaceGUI::syncState() {
chanOscOpen=e->getConfBool("chanOscOpen",false);
xyOscOpen=e->getConfBool("xyOscOpen",false);
memoryOpen=e->getConfBool("memoryOpen",false);
csPlayerOpen=e->getConfBool("csPlayerOpen",false);
volMeterOpen=e->getConfBool("volMeterOpen",true);
statsOpen=e->getConfBool("statsOpen",false);
compatFlagsOpen=e->getConfBool("compatFlagsOpen",false);
@ -8153,6 +8155,7 @@ void FurnaceGUI::commitState(DivConfig& conf) {
conf.set("chanOscOpen",chanOscOpen);
conf.set("xyOscOpen",xyOscOpen);
conf.set("memoryOpen",memoryOpen);
conf.set("csPlayerOpen",csPlayerOpen);
conf.set("volMeterOpen",volMeterOpen);
conf.set("statsOpen",statsOpen);
conf.set("compatFlagsOpen",compatFlagsOpen);