mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-10 02:53:06 +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 = "//";
|
char* skip = "//";
|
||||||
std::vector<std::string> codesList; // Read from INI here
|
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 ++) {
|
for (int i = 0; !list.eof(); i ++) {
|
||||||
getline(list, line, '\n');
|
getline(list, line, '\n');
|
||||||
if (line.substr(0,2) == skip) {
|
if (line.substr(0,2) == skip) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user