proof-of-concept system for GBA slot addons

This commit is contained in:
Arisotura
2022-01-03 10:05:37 +01:00
parent cdff61c209
commit 46656eccda
10 changed files with 246 additions and 78 deletions

View File

@ -164,6 +164,12 @@ struct MemRegion
u32 Mask;
};
// supported GBA slot addon types
enum
{
GBAAddon_RAMExpansion = 1,
};
#ifdef JIT_ENABLED
extern bool EnableJIT;
#endif
@ -246,6 +252,7 @@ bool NeedsDirectBoot();
void SetupDirectBoot(std::string romname);
bool LoadGBACart(const u8* romdata, u32 romlen, const u8* savedata, u32 savelen);
void LoadGBAAddon(int type);
void EjectGBACart();
//void RelocateSave(const char* path, bool write);