mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Further work on support for cheats
Cheats can now be enabled/disabled and games can be launched with cheats
This commit is contained in:
17
arm9/source/cheats/ICheatCategory.h
Normal file
17
arm9/source/cheats/ICheatCategory.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
class CheatCategory;
|
||||
class Cheat;
|
||||
|
||||
class ICheatCategory
|
||||
{
|
||||
public:
|
||||
virtual ~ICheatCategory() = default;
|
||||
|
||||
virtual bool GetIsMaxOneCheatActive() const = 0;
|
||||
virtual const CheatCategory* GetCategories(u32& numberOfCategories) const;
|
||||
virtual const Cheat* GetCheats(u32& numberOfCheats) const;
|
||||
|
||||
protected:
|
||||
ICheatCategory() = default;
|
||||
};
|
||||
Reference in New Issue
Block a user