diff options
Diffstat (limited to 'src/AREngine.h')
-rw-r--r-- | src/AREngine.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/AREngine.h b/src/AREngine.h index a6926ab..1f2ee18 100644 --- a/src/AREngine.h +++ b/src/AREngine.h @@ -23,12 +23,11 @@ namespace melonDS { +class NDS; class AREngine { public: - AREngine(); - ~AREngine(); - void Reset(); + AREngine(melonDS::NDS& nds); ARCodeFile* GetCodeFile() { return CodeFile; } void SetCodeFile(ARCodeFile* file) { CodeFile = file; } @@ -36,15 +35,8 @@ public: void RunCheats(); void RunCheat(ARCode& arcode); private: + melonDS::NDS& NDS; 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); }; } |