vbagx/source/gamesettings.h

39 lines
760 B
C
Raw Normal View History

/****************************************************************************
* Visual Boy Advance GX
*
2023-01-30 22:08:08 +01:00
* Tantric 2008-2023
*
* 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