mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Open std::fstream in a unicode-safe manner.
This commit is contained in:
@ -137,7 +137,8 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
||||
else
|
||||
{
|
||||
// Will fail out if GameConfig folder doesn't exist
|
||||
std::ofstream f(GameIniFile.c_str());
|
||||
std::ofstream f;
|
||||
OpenFStream(f, GameIniFile, std::ios_base::out);
|
||||
if (f)
|
||||
{
|
||||
f << "# " << OpenISO->GetUniqueID() << " - " << OpenISO->GetName() << '\n'
|
||||
|
Reference in New Issue
Block a user