vbagx/source/vbasupport.h

33 lines
842 B
C
Raw Normal View History

/****************************************************************************
2008-09-17 04:27:55 +02:00
* Visual Boy Advance GX
*
* Tantric September 2008
*
* vbasupport.h
*
* VBA support code
***************************************************************************/
#ifndef VBASUPPORT_H
#define VBASUPPORT_H
#include "System.h"
extern struct EmulatedSystem emulator;
extern int cartridgeType;
extern int SunBars;
extern u32 RomIdCode;
extern bool TiltSideways;
extern char RomTitle[];
2009-10-02 00:42:02 +02:00
bool LoadVBAROM();
void InitialisePalette();
bool IsGameboyGame();
bool IsGBAGame();
2009-10-02 00:42:02 +02:00
bool LoadBatteryOrState(char * filepath, int action, bool silent);
bool LoadBatteryOrStateAuto(int action, bool silent);
bool SaveBatteryOrState(char * filepath, int action, bool silent);
bool SaveBatteryOrStateAuto(int action, bool silent);
#endif