aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jesse@jesse.tg>2023-11-08 16:21:30 -0500
committerGitHub <noreply@github.com>2023-11-08 22:21:30 +0100
commit3d3e4240a05167c716437488be8cbb1dba4e8ec5 (patch)
tree6d7a6bd54e31b9dc83cae997e83e6308b65d56db
parent8b47178add1e78da5ff96b335ecac73f34f4a8e9 (diff)
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
-rw-r--r--src/AREngine.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/AREngine.h b/src/AREngine.h
index cd6d4a9..8557eb7 100644
--- a/src/AREngine.h
+++ b/src/AREngine.h
@@ -32,7 +32,7 @@ public:
void SetCodeFile(ARCodeFile* file) { CodeFile = file; }
void RunCheats();
-
+ void RunCheat(ARCode& arcode);
private:
ARCodeFile* CodeFile; // AR code file - frontend is responsible for managing this
@@ -43,8 +43,6 @@ private:
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