1 /*
2 gba.h - Game Boy Advance support for uCON64
3 
4 Copyright (c) 2001 NoisyB
5 
6 
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21 #ifndef GBA_H
22 #define GBA_H
23 
24 #include "misc/getopt2.h"                       // st_getopt2_t
25 #include "ucon64.h"
26 
27 
28 #define GBA_LOGODATA_LEN 156
29 
30 extern const st_getopt2_t gba_usage[];
31 extern const unsigned char gba_logodata[];
32 
33 extern int gba_chk (st_ucon64_nfo_t *rominfo);
34 extern int gba_crp (st_ucon64_nfo_t *rominfo, const char *value);
35 extern int gba_init (st_ucon64_nfo_t *rominfo);
36 extern int gba_logo (st_ucon64_nfo_t *rominfo);
37 extern int gba_n (st_ucon64_nfo_t *rominfo, const char *name);
38 extern int gba_sram (void);
39 extern int gba_multi (unsigned int truncate_size, char *fname);
40 extern int gba_sc (void);
41 
42 #endif
43