gbasys
diff src/error.c @ 2:e3dc7705ad9c
communications stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 07 Mar 2012 06:11:51 +0200 |
parents | 875ef6085efc |
children | 72c6429ae953 |
line diff
1.1 --- a/src/error.c Sun Mar 04 07:06:41 2012 +0200 1.2 +++ b/src/error.c Wed Mar 07 06:11:51 2012 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 /* 1.5 -Copyright 2004 John Tsiombikas <nuclear@siggraph.org> 1.6 +Copyright 2004-2012 John Tsiombikas <nuclear@member.fsf.org> 1.7 1.8 -This file is part of libgba, a library for GameBoy Advance development. 1.9 +This file is part of gbasys, a library for GameBoy Advance development. 1.10 1.11 This program is free software; you can redistribute it and/or modify 1.12 it under the terms of the GNU General Public License as published by 1.13 @@ -23,11 +23,11 @@ 1.14 void panic(const char *str) { 1.15 set_video_mode(VMODE_LFB_240x160_16, 0); 1.16 clear_buffer(front_buffer, RGB(140, 30, 20)); 1.17 - 1.18 + 1.19 set_text_color(0xffff, RGB(140, 30, 20)); 1.20 draw_string(" Don't Panic! ", 0, 0, front_buffer); 1.21 draw_string("_________________________", 0, 8, front_buffer); 1.22 if(str) draw_string(str, 0, 32, front_buffer); 1.23 1.24 - for(;;); 1.25 + for(;;); 1.26 }