mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
ifstream constructor takes a c string
This commit is contained in:
1 parent
dc25d42eca
commit
7dc90fcc49
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user