comparison source/main.c @ 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
comparison
equal deleted inserted replaced
3:4c4be527a8d5 4:557d35fcf15a
141 fflush(stdout); 141 fflush(stdout);
142 gfxFlushBuffers(); 142 gfxFlushBuffers();
143 gfxSwapBuffers(); 143 gfxSwapBuffers();
144 for (int i=0; i < 60; ++i) 144 for (int i=0; i < 60; ++i)
145 gspWaitForVBlank(); 145 gspWaitForVBlank();
146 SOC_Shutdown();
146 gfxExit(); 147 gfxExit();
147 } 148 }
148 149
149 int main(void) 150 int main(void)
150 { 151 {