Enable saving when pressing 'Exit'. TODO: Should save when settings change instead.

This commit is contained in:
Sacha committed 2013-01-15 01:01:19 +10:00
1 parent ec6c2428a9
commit 4c827f6d68
1 file changed
+2
+2
View File
@@ -202,6 +202,8 @@ void MenuScreen::render() {
}
if (UIButton(GEN_ID, vlinear, w, "Exit", ALIGN_RIGHT)) {
// TODO: Save when setting changes, rather than when we quit
NativeShutdown();
// TODO: Need a more elegant way to quit
exit(0);
}