mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-30 01:29:52 -06:00
committing WIP. won't build or anything.
This commit is contained in:
18
src/NDS.h
18
src/NDS.h
@ -19,6 +19,8 @@
|
||||
#ifndef NDS_H
|
||||
#define NDS_H
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Savestate.h"
|
||||
#include "types.h"
|
||||
|
||||
@ -219,6 +221,7 @@ extern u8* ARM7WRAM;
|
||||
bool Init();
|
||||
void DeInit();
|
||||
void Reset();
|
||||
void Start();
|
||||
void Stop();
|
||||
|
||||
bool DoSavestate(Savestate* file);
|
||||
@ -229,13 +232,20 @@ void SetARM7RegionTimings(u32 addrstart, u32 addrend, u32 region, int buswidth,
|
||||
// 0=DS 1=DSi
|
||||
void SetConsoleType(int type);
|
||||
|
||||
bool LoadROM(const char* path, const char* sram, bool direct);
|
||||
/*bool LoadROM(const char* path, const char* sram, bool direct);
|
||||
bool LoadROM(const u8* romdata, u32 filelength, const char *sram, bool direct);
|
||||
bool LoadGBAROM(const char* path, const char* sram);
|
||||
bool LoadGBAROM(const u8* romdata, u32 filelength, const char *filename, const char *sram);
|
||||
bool LoadGBAROM(const u8* romdata, u32 filelength, const char *filename, const char *sram);*/
|
||||
void LoadBIOS();
|
||||
void SetupDirectBoot();
|
||||
void RelocateSave(const char* path, bool write);
|
||||
|
||||
bool LoadCart(const u8* romdata, u32 romlen, const u8* savedata, u32 savelen);
|
||||
void EjectCart();
|
||||
void SetupDirectBoot(std::string romname);
|
||||
|
||||
bool LoadGBACart(const u8* romdata, u32 romlen, const u8* savedata, u32 savelen);
|
||||
void EjectGBACart();
|
||||
|
||||
//void RelocateSave(const char* path, bool write);
|
||||
|
||||
u32 RunFrame();
|
||||
|
||||
|
Reference in New Issue
Block a user