gbasys

diff src/font.c @ 1:c50064b181c2

stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 04 Mar 2012 07:06:41 +0200
parents 875ef6085efc
children 72c6429ae953
line diff
     1.1 --- a/src/font.c	Sun Mar 04 04:04:25 2012 +0200
     1.2 +++ b/src/font.c	Sun Mar 04 07:06:41 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5  Copyright 2004 John Tsiombikas <nuclear@siggraph.org>
     1.6  
     1.7 -This file is part of libgba, a library for GameBoy Advance development.
     1.8 +This file is part of gbasys, a library for GameBoy Advance development.
     1.9  
    1.10  This program is free software; you can redistribute it and/or modify
    1.11  it under the terms of the GNU General Public License as published by
    1.12 @@ -18,7 +18,7 @@
    1.13  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.14  */
    1.15  
    1.16 -#include "libgba_config.h"
    1.17 +#include "config.h"
    1.18  #include <stdlib.h>
    1.19  #include "font.h"
    1.20  #include "gfx.h"
    1.21 @@ -97,7 +97,7 @@
    1.22  	struct pixel_buffer *glyph;
    1.23  
    1.24  	if(!(glyph = get_glyph(c, fg_color, bg_color, pbuf->bpp))) return -1;
    1.25 -	
    1.26 +
    1.27  	if(pbuf->bpp == 16) {
    1.28  		int i, j;
    1.29  		unsigned short *dptr = (unsigned short*)pbuf->pixels + y * pbuf->x + x;