CheatList: Allow passing in strings instead of filenames
This commit is contained in:
@ -116,12 +116,17 @@ public:
|
||||
void SetCodeEnabled(u32 index, bool state);
|
||||
|
||||
static std::optional<Format> DetectFileFormat(const char* filename);
|
||||
static Format DetectFileFormat(const std::string& str);
|
||||
static bool ParseLibretroCheat(CheatCode* cc, const char* line);
|
||||
|
||||
bool LoadFromFile(const char* filename, Format format);
|
||||
bool LoadFromPCSXRFile(const char* filename);
|
||||
bool LoadFromLibretroFile(const char* filename);
|
||||
|
||||
bool LoadFromString(const std::string& str, Format format);
|
||||
bool LoadFromPCSXRString(const std::string& str);
|
||||
bool LoadFromLibretroString(const std::string& str);
|
||||
|
||||
bool SaveToPCSXRFile(const char* filename);
|
||||
|
||||
void Apply();
|
||||
|
||||
Reference in New Issue
Block a user