Cheats: Fix parsing of Retroarch cheats
This commit is contained in:
parent
40037d6e90
commit
e7cfc69975
2 changed files with 11 additions and 10 deletions
|
|
@ -2203,7 +2203,7 @@ bool CommonHostInterface::LoadCheatList(const char* filename)
|
|||
return false;
|
||||
|
||||
std::unique_ptr<CheatList> cl = std::make_unique<CheatList>();
|
||||
if (!cl->LoadFromPCSXRFile(filename))
|
||||
if (!cl->LoadFromFile(filename, CheatList::Format::Autodetect))
|
||||
{
|
||||
AddFormattedOSDMessage(15.0f, TranslateString("OSDMessage", "Failed to load cheats from '%s'."), filename);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue