changeset 4:557d35fcf15a default tip

Properly exit the soc:U subsystem so we don’t crash on exit.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 18 Aug 2015 01:42:36 +0100
parents 4c4be527a8d5
children
files source/main.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/source/main.c
+++ b/source/main.c
@@ -143,6 +143,7 @@ void exitWithMessage(const char *message
 	gfxSwapBuffers();
 	for (int i=0; i < 60; ++i)
 		gspWaitForVBlank();
+	SOC_Shutdown();
 	gfxExit();
 }