gba-trycatch

diff src/main.c @ 8:fb0a0d6a8b52

sortof works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 19 Jun 2014 05:53:46 +0300
parents 850be43b3135
children b0ed38f13261
line diff
     1.1 --- a/src/main.c	Wed Jun 18 06:20:07 2014 +0300
     1.2 +++ b/src/main.c	Thu Jun 19 05:53:46 2014 +0300
     1.3 @@ -26,7 +26,9 @@
     1.4  	set_text_writebg(1);
     1.5  	logmsg(LOG_ALL, "please wait...\n");
     1.6  
     1.7 -	sincos_init();
     1.8 +	if(game_init() == -1) {
     1.9 +		return 1;
    1.10 +	}
    1.11  
    1.12  	for(;;) {
    1.13  		/* process events */