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