vbagx/source/vbasupport.h

35 lines
922 B
C
Raw Permalink Normal View History

/****************************************************************************
2008-09-17 04:27:55 +02:00
* Visual Boy Advance GX
*
2021-01-06 21:13:12 +01:00
* Tantric 2008-2021
*
* vbasupport.h
*
* VBA support code
***************************************************************************/
#ifndef VBASUPPORT_H
#define VBASUPPORT_H
2010-03-22 02:10:50 +01:00
#include "vba/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();
void ResetTiltAndCursor();
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);
bool SavePreviewImg (char * filepath, bool silent);
#endif