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();
return true;
}
void DivEngine::youre_a_stinky_butt() {
abort();
}

View file

@ -582,6 +582,7 @@ class DivEngine {
bool shallSwitchCores();
void testFunction();
void youre_a_stinky_butt();
bool loadDMF(unsigned char* file, size_t len);
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();
ImGui::SameLine();
if (ImGui::Button("Abort")) {
abort();
if (ImGui::Button("Abort (halts program)")) {
e->youre_a_stinky_butt();
}
ImGui::TreePop();
}