mirror of https://github.com/snes9xgit/snes9x.git
win32: Try another fix for string.
This commit is contained in:
parent
d3a1c3a6f3
commit
ddc2014bba
|
|
@ -26,7 +26,8 @@ static std::string trim_quotes(std::string str)
|
|||
bool IniFile::load_file(std::string filename)
|
||||
{
|
||||
std::ifstream file;
|
||||
file.open(filename, std::ios_base::binary);
|
||||
// Windows ifstream wrapper wants c_str
|
||||
file.open(filename.c_str(), std::ios_base::binary);
|
||||
if (!file.is_open())
|
||||
{
|
||||
printf("No file %s\n", filename.c_str());
|
||||
|
|
|
|||
Loading…
Reference in New Issue