2008-09-17 01:54:21 +00:00
|
|
|
/****************************************************************************
|
2008-09-17 02:27:55 +00:00
|
|
|
* Visual Boy Advance GX
|
2008-09-17 01:54:21 +00:00
|
|
|
*
|
|
|
|
* Tantric September 2008
|
|
|
|
*
|
|
|
|
* vbasupport.h
|
|
|
|
*
|
|
|
|
* VBA support code
|
|
|
|
***************************************************************************/
|
|
|
|
|
2009-03-04 06:56:55 +00:00
|
|
|
#ifndef VBASUPPORT_H
|
|
|
|
#define VBASUPPORT_H
|
|
|
|
|
2010-03-22 01:10:50 +00:00
|
|
|
#include "vba/System.h"
|
2008-09-16 05:42:21 +00:00
|
|
|
|
|
|
|
extern struct EmulatedSystem emulator;
|
2009-03-04 06:56:55 +00:00
|
|
|
extern int cartridgeType;
|
|
|
|
extern int SunBars;
|
|
|
|
extern u32 RomIdCode;
|
|
|
|
extern bool TiltSideways;
|
2009-06-01 07:20:23 +00:00
|
|
|
extern char RomTitle[];
|
2009-03-04 06:56:55 +00:00
|
|
|
|
2009-10-01 22:42:02 +00:00
|
|
|
bool LoadVBAROM();
|
2008-09-16 05:42:21 +00:00
|
|
|
void InitialisePalette();
|
2009-06-17 07:47:22 +00:00
|
|
|
bool IsGameboyGame();
|
2009-11-16 09:02:17 +00:00
|
|
|
bool IsGBAGame();
|
2009-10-01 22:42:02 +00: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);
|
2009-03-04 06:56:55 +00:00
|
|
|
|
|
|
|
#endif
|