# HG changeset patch # User Emmanuel Gil Peyrot # Date 1439858556 -3600 # Node ID 557d35fcf15af07a0a5ab5e76c1fc808fa7bc41d # Parent 4c4be527a8d5717e04b994e1c7ecb67f1fc91013 Properly exit the soc:U subsystem so we don’t crash on exit. diff --git a/source/main.c b/source/main.c --- 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(); }