forked from dolphin-emu/dolphin
Don't use wrong encoding for paths when opening streams on Windows
This commit is contained in:
@@ -58,7 +58,8 @@ MemoryWatcher::~MemoryWatcher()
|
||||
|
||||
bool MemoryWatcher::LoadAddresses(const std::string& path)
|
||||
{
|
||||
std::ifstream locations(path);
|
||||
std::ifstream locations;
|
||||
File::OpenFStream(locations, path, std::ios_base::in);
|
||||
if (!locations)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user