mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
Make AREngine::RunCheat public (#1872)
- I use it directly in melonDS DS to apply single cheats without using ARCodeFile - Before the AREngine refactor I could just redeclare the function in my code - Now I can't
This commit is contained in:
parent
8b47178add
commit
3d3e4240a0
@ -32,7 +32,7 @@ public:
|
|||||||
void SetCodeFile(ARCodeFile* file) { CodeFile = file; }
|
void SetCodeFile(ARCodeFile* file) { CodeFile = file; }
|
||||||
|
|
||||||
void RunCheats();
|
void RunCheats();
|
||||||
|
void RunCheat(ARCode& arcode);
|
||||||
private:
|
private:
|
||||||
ARCodeFile* CodeFile; // AR code file - frontend is responsible for managing this
|
ARCodeFile* CodeFile; // AR code file - frontend is responsible for managing this
|
||||||
|
|
||||||
@ -43,8 +43,6 @@ private:
|
|||||||
void (*BusWrite8)(u32 addr, u8 val);
|
void (*BusWrite8)(u32 addr, u8 val);
|
||||||
void (*BusWrite16)(u32 addr, u16 val);
|
void (*BusWrite16)(u32 addr, u16 val);
|
||||||
void (*BusWrite32)(u32 addr, u32 val);
|
void (*BusWrite32)(u32 addr, u32 val);
|
||||||
|
|
||||||
void RunCheat(ARCode& arcode);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ARENGINE_H
|
#endif // ARENGINE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user