gbasys

diff src/intr.c @ 7:72c6429ae953

changed all the copyright headers and added a README
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Apr 2014 02:04:46 +0300
parents 875ef6085efc
children 85f219fcdc82
line diff
     1.1 --- a/src/intr.c	Tue Sep 04 05:05:50 2012 +0300
     1.2 +++ b/src/intr.c	Fri Apr 18 02:04:46 2014 +0300
     1.3 @@ -1,11 +1,10 @@
     1.4  /*
     1.5 -Copyright 2004 John Tsiombikas <nuclear@siggraph.org>
     1.6 +gbasys - a gameboy advance hardware abstraction library
     1.7 +Copyright (C) 2004-2014  John Tsiombikas <nuclear@member.fsf.org>
     1.8  
     1.9 -This file is part of libgba, a library for GameBoy Advance development.
    1.10 -
    1.11 -This program is free software; you can redistribute it and/or modify
    1.12 +This program is free software: you can redistribute it and/or modify
    1.13  it under the terms of the GNU General Public License as published by
    1.14 -the Free Software Foundation; either version 2 of the License, or
    1.15 +the Free Software Foundation, either version 3 of the License, or
    1.16  (at your option) any later version.
    1.17  
    1.18  This program is distributed in the hope that it will be useful,
    1.19 @@ -14,10 +13,8 @@
    1.20  GNU General Public License for more details.
    1.21  
    1.22  You should have received a copy of the GNU General Public License
    1.23 -along with this program; if not, write to the Free Software
    1.24 -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.25 +along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1.26  */
    1.27 -
    1.28  #include "intr.h"
    1.29  #include "error.h"
    1.30  
    1.31 @@ -38,7 +35,7 @@
    1.32  	int i;
    1.33  	unsigned short irq;
    1.34  	char buf[20];
    1.35 -	
    1.36 +
    1.37  	clr_int();
    1.38  
    1.39  	irq = *reg_int & 0x3fff;