vbagx/source/gamesettings.h
2022-01-09 09:41:59 -07:00

39 lines
760 B
C

/****************************************************************************
* Visual Boy Advance GX
*
* Tantric 2008-2022
*
* gamesettings.h
*
* VBA support code
***************************************************************************/
#ifndef GAMESETTINGS_H
#define GAMESETTINGS_H
#include <gccore.h>
struct gameSetting {
char gameName[100];
char gameID[5];
int saveType;
int rtcEnabled;
int flashSize;
int mirroringEnabled;
};
extern gameSetting gameSettings[];
extern int gameSettingsCount;
struct gamePalette {
char gameName[17];
char use;
u32 palette[14]; // in 24-bit 0xRRGGBB
};
extern gamePalette gamePalettes[];
extern int gamePalettesCount;
extern gamePalette CurrentPalette;
#endif