savegame-manager/arm9/source/globals.h
msiewert76 d084a58cf7 - Improve string parsing; bugs introduced with earlier commits should be gone now
- Add some very preliminary bits for importing a custom font fileExists
- Add "displayDebugF" function for easier debugging
- Add some comments on dsiwarehax mode to instructions file
2011-10-14 20:11:54 +00:00

73 lines
2.1 KiB
C

/*
* savegame_manager: a tool to backup and restore savegames from Nintendo
* DS cartridges. Nintendo DS and all derivative names are trademarks
* by Nintendo. EZFlash 3-in-1 is a trademark by EZFlash.
*
* globals.h: global varibles, defines etc.
*
* Copyright (C) Pokedoc (2011)
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef GLOBALS_H
#define GLOBALS_H
#include <nds.h>
#include "auxspi.h"
#define VERSION_MAJOR 0
#define VERSION_MINOR 3
#define VERSION_MICRO 0
#define VERSION_EXTRA "RC2"
// this enables a custom font. it does not work yet, stuff is missing, so please uncomment
// this line only for testing and development purposes!
//#define ENABLE_CUSTOM_FONT
extern u8 *data;
extern u32 size_buf;
extern auxspi_extra slot_1_type;
extern char ftp_ip[16];
extern char ftp_user[64];
extern char ftp_pass[64];
extern int ftp_port;
extern bool ftp_active;
extern int ir_delay;
// all libfat access will be using this device. default value = "/", i.e. "default" DLDI device
extern char device[16];
// text buffer for composing various messages
extern char txt[256];
extern u32 mode;
extern u32 ezflash;
extern int slot2;
extern bool sdslot;
// this should be enough for the forseeable future
#define EXTRA_ARRAY_SIZE 16
extern u32 extra_id[EXTRA_ARRAY_SIZE];
extern u8 extra_size[EXTRA_ARRAY_SIZE];
#endif // GLOBALS_H