diff options
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index d1f8693417..ccfdd729d2 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -150,7 +150,8 @@ void CRenderFrame::OnDropFiles(wxDropFilesEvent& event) bool CRenderFrame::IsValidSavestateDropped(const std::string& filepath) { const int game_id_length = 6; - std::ifstream file(filepath, std::ios::in | std::ios::binary); + std::ifstream file; + File::OpenFStream(file, filepath, std::ios::in | std::ios::binary); if (!file) return false; |
