mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
ifstream constructor takes a c string
This commit is contained in:
parent
dc25d42eca
commit
7dc90fcc49
@ -167,7 +167,7 @@ std::vector<std::string> CWCheatEngine::GetCodesList() {
|
||||
|
||||
char* skip = "//";
|
||||
std::vector<std::string> 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user