This commit is contained in:
tildearrow 2024-06-21 22:16:11 -05:00
parent e1772642b8
commit 9d985a7417
3 changed files with 7 additions and 2 deletions

View file

@ -4141,3 +4141,7 @@ bool DivEngine::quit(bool saveConfig) {
song.unload(); song.unload();
return true; return true;
} }
void DivEngine::youre_a_stinky_butt() {
abort();
}

View file

@ -582,6 +582,7 @@ class DivEngine {
bool shallSwitchCores(); bool shallSwitchCores();
void testFunction(); void testFunction();
void youre_a_stinky_butt();
bool loadDMF(unsigned char* file, size_t len); bool loadDMF(unsigned char* file, size_t len);
bool loadFur(unsigned char* file, size_t len, int variantID=0); bool loadFur(unsigned char* file, size_t len, int variantID=0);

View file

@ -82,8 +82,8 @@ void FurnaceGUI::drawDebug() {
if (ImGui::Button("Panic")) e->syncReset(); if (ImGui::Button("Panic")) e->syncReset();
ImGui::SameLine(); ImGui::SameLine();
if (ImGui::Button("Abort")) { if (ImGui::Button("Abort (halts program)")) {
abort(); e->youre_a_stinky_butt();
} }
ImGui::TreePop(); ImGui::TreePop();
} }