ref: c2caed900d95ccfad4f73c9730f2cf25349707b8
parent: 50742cfc923a5be33398973072818f0c94950809
author: Simon Howard <fraggle@soulsphere.org>
date: Sun Apr 13 19:34:21 EDT 2014
setup: Call TXT_Shutdown on exit. Some systems (fbcon SDL driver) get messed up if not cleanly shut down. Make sure that we call SDL_QuitSubsystem on shutdown.
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -129,6 +129,8 @@
M_SaveDefaults();
}
+ TXT_Shutdown();
+
exit(0);
}