mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-13 02:19:57 +01:00
Based on https://github.com/dolphin-emu/dolphin/pull/10092, with adaptations made for differences in how Citra handles cheats. You can access the cheat GUI while a game is running.
15 lines
361 B
C++
15 lines
361 B
C++
// Copyright 2022 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include <memory>
|
|
|
|
#include <jni.h>
|
|
|
|
namespace Cheats {
|
|
class CheatBase;
|
|
}
|
|
|
|
std::shared_ptr<Cheats::CheatBase>* CheatFromJava(JNIEnv* env, jobject cheat);
|
|
jobject CheatToJava(JNIEnv* env, std::shared_ptr<Cheats::CheatBase> cheat);
|