slackbuilds_ponce/games/atari++/no_confirm_quit.diff

19 lines
541 B
Diff
Raw Normal View History

diff -Naur atari++/atari.cpp atari++.patched/atari.cpp
--- atari++/atari.cpp 2020-03-21 13:13:35.000000000 -0400
+++ atari++.patched/atari.cpp 2021-03-23 00:21:48.022961292 -0400
@@ -263,14 +263,7 @@
}
}
if (machine->Quit()) {
- // Check whether the user really wants to quit.
- if (YesNoRequester->Request("Do you really want to quit Atari++?",
- "Continue Execution","Quit Program",NULL) == 0) {
- redo = true;
- machine->Quit() = false;
- } else {
redo = false;
- }
}
} while(redo);
}