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;
|
|
|
|
extern u32 loadtimeradjust;
|
2009-03-04 07:56:55 +01:00
|
|
|
extern int cartridgeType;
|
|
|
|
extern int SunBars;
|
|
|
|
extern u32 RomIdCode;
|
|
|
|
extern bool TiltSideways;
|
|
|
|
|
2008-09-29 09:35:26 +02:00
|
|
|
bool LoadVBAROM(int method);
|
2008-09-16 07:42:21 +02:00
|
|
|
void InitialisePalette();
|
2009-04-10 05:19:29 +02:00
|
|
|
bool LoadBatteryOrState(int method, int action, bool silent);
|
|
|
|
bool SaveBatteryOrState(int method, int action, bool silent);
|
2009-03-04 07:56:55 +01:00
|
|
|
|
|
|
|
#endif
|