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
|
|
|
|
2008-09-29 09:35:26 +02:00
|
|
|
bool LoadVBAROM(int method);
|
2008-09-16 07:42:21 +02:00
|
|
|
void InitialisePalette();
|
2009-04-08 09:08:12 +02:00
|
|
|
bool LoadBatteryOrState(char * filepath, int method, int action, bool silent);
|
|
|
|
bool LoadBatteryOrStateAuto(int method, int action, bool silent);
|
|
|
|
bool SaveBatteryOrState(char * filepath, int method, int action, bool silent);
|
|
|
|
bool SaveBatteryOrStateAuto(int method, int action, bool silent);
|
2009-03-04 07:56:55 +01:00
|
|
|
|
|
|
|
#endif
|