mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 08:39:49 -06:00
Open std::fstream in a unicode-safe manner.
This commit is contained in:
@ -285,7 +285,8 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
||||
|
||||
if (!path.IsEmpty())
|
||||
{
|
||||
std::ifstream f(WxStrToStr(path).c_str());
|
||||
std::ifstream f;
|
||||
OpenFStream(f, WxStrToStr(path), std::ios_base::in);
|
||||
|
||||
std::string line;
|
||||
while (std::getline(f, line))
|
||||
|
Reference in New Issue
Block a user