mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
convert AREngine
This commit is contained in:
@ -21,18 +21,30 @@
|
||||
|
||||
#include "ARCodeFile.h"
|
||||
|
||||
namespace AREngine
|
||||
class AREngine
|
||||
{
|
||||
public:
|
||||
AREngine();
|
||||
~AREngine();
|
||||
void Reset();
|
||||
|
||||
bool Init();
|
||||
void DeInit();
|
||||
void Reset();
|
||||
ARCodeFile* GetCodeFile() { return CodeFile; }
|
||||
void SetCodeFile(ARCodeFile* file) { CodeFile = file; }
|
||||
|
||||
ARCodeFile* GetCodeFile();
|
||||
void SetCodeFile(ARCodeFile* file);
|
||||
void RunCheats();
|
||||
|
||||
void RunCheats();
|
||||
private:
|
||||
ARCodeFile* CodeFile; // AR code file - frontend is responsible for managing this
|
||||
|
||||
}
|
||||
// TEMPORARY
|
||||
u8 (*BusRead8)(u32 addr);
|
||||
u16 (*BusRead16)(u32 addr);
|
||||
u32 (*BusRead32)(u32 addr);
|
||||
void (*BusWrite8)(u32 addr, u8 val);
|
||||
void (*BusWrite16)(u32 addr, u16 val);
|
||||
void (*BusWrite32)(u32 addr, u32 val);
|
||||
|
||||
void RunCheat(ARCode& arcode);
|
||||
};
|
||||
|
||||
#endif // ARENGINE_H
|
||||
|
Reference in New Issue
Block a user