mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-06 19:28:49 -04:00
feat(ui): add per-game cheat management tab with bulk toggle controls
Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -830,6 +830,14 @@ void System::RegisterCheatList(const std::vector<Memory::CheatEntry>& list,
|
||||
impl->cheat_engine->SetMainMemoryParameters(main_region_begin, main_region_size);
|
||||
}
|
||||
|
||||
Memory::CheatEngine* System::GetCheatEngine() {
|
||||
return impl->cheat_engine.get();
|
||||
}
|
||||
|
||||
const Memory::CheatEngine* System::GetCheatEngine() const {
|
||||
return impl->cheat_engine.get();
|
||||
}
|
||||
|
||||
void System::SetFrontendAppletSet(Service::AM::Frontend::FrontendAppletSet&& set) {
|
||||
impl->frontend_applets.SetFrontendAppletSet(std::move(set));
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ enum class ResultStatus : u16;
|
||||
|
||||
namespace Core::Memory {
|
||||
struct CheatEntry;
|
||||
class CheatEngine;
|
||||
class Memory;
|
||||
} // namespace Core::Memory
|
||||
|
||||
@@ -349,6 +350,9 @@ public:
|
||||
const std::array<u8, 0x20>& build_id, u64 main_region_begin,
|
||||
u64 main_region_size);
|
||||
|
||||
[[nodiscard]] Memory::CheatEngine* GetCheatEngine();
|
||||
[[nodiscard]] const Memory::CheatEngine* GetCheatEngine() const;
|
||||
|
||||
void SetFrontendAppletSet(Service::AM::Frontend::FrontendAppletSet&& set);
|
||||
|
||||
[[nodiscard]] Service::AM::Frontend::FrontendAppletHolder& GetFrontendAppletHolder();
|
||||
|
||||
Reference in New Issue
Block a user