slackbuilds_ponce/games/atari++/no_confirm_quit.diff
B. Watson eeafa53b1c
games/atari++: Add optional no-confirm-quit patch.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-03-27 10:23:18 +07:00

18 lines
541 B
Diff

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);
}