aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/ROMManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qt_sdl/ROMManager.cpp')
-rw-r--r--src/frontend/qt_sdl/ROMManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/qt_sdl/ROMManager.cpp b/src/frontend/qt_sdl/ROMManager.cpp
index 0af1fcc..a0355f6 100644
--- a/src/frontend/qt_sdl/ROMManager.cpp
+++ b/src/frontend/qt_sdl/ROMManager.cpp
@@ -462,7 +462,7 @@ void UnloadCheats()
{
delete CheatFile;
CheatFile = nullptr;
- AREngine::SetCodeFile(nullptr);
+ NDS::AREngine->SetCodeFile(nullptr);
}
}
@@ -475,7 +475,7 @@ void LoadCheats()
// TODO: check for error (malformed cheat file, ...)
CheatFile = new ARCodeFile(filename);
- AREngine::SetCodeFile(CheatsOn ? CheatFile : nullptr);
+ NDS::AREngine->SetCodeFile(CheatsOn ? CheatFile : nullptr);
}
void LoadBIOSFiles()
@@ -570,7 +570,7 @@ void EnableCheats(bool enable)
{
CheatsOn = enable;
if (CheatFile)
- AREngine::SetCodeFile(CheatsOn ? CheatFile : nullptr);
+ NDS::AREngine->SetCodeFile(CheatsOn ? CheatFile : nullptr);
}
ARCodeFile* GetCheatFile()