vbagx/source/gamesettings.h

39 lines
763 B
C
Raw Permalink Normal View History

/****************************************************************************
* Visual Boy Advance GX
*
* Tantric October 2008
*
* gamesettings.h
*
* VBA support code
***************************************************************************/
#ifndef GAMESETTINGS_H
#define GAMESETTINGS_H
#include <gccore.h>
2009-05-21 06:16:41 +02:00
struct gameSetting {
char gameName[100];
char gameID[5];
int saveType;
int rtcEnabled;
int flashSize;
int mirroringEnabled;
};
extern gameSetting gameSettings[];
extern int gameSettingsCount;
2009-05-21 06:16:41 +02:00
struct gamePalette {
char gameName[17];
2009-05-29 22:04:11 +02:00
char use;
u32 palette[14]; // in 24-bit 0xRRGGBB
};
extern gamePalette gamePalettes[];
extern int gamePalettesCount;
extern gamePalette CurrentPalette;
#endif