vbagx/source/gamesettings.h
2023-01-30 14:08:08 -07:00

39 lines
760 B
C

/****************************************************************************
* Visual Boy Advance GX
*
* Tantric 2008-2023
*
* 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