diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index 904f388873..8b1213ee73 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -167,7 +167,7 @@ std::vector CWCheatEngine::GetCodesList() { char* skip = "//"; std::vector codesList; // Read from INI here - std::ifstream list(title3); + std::ifstream list(title3.c_str()); for (int i = 0; !list.eof(); i ++) { getline(list, line, '\n'); if (line.substr(0,2) == skip) {