diff --git a/Utilities/GNU.h b/Utilities/GNU.h index 0546d664af..4087004e4f 100644 --- a/Utilities/GNU.h +++ b/Utilities/GNU.h @@ -24,7 +24,6 @@ void strcpy_trunc(char (&dst)[size], const std::string& src) #include #include #include -#include #ifndef __APPLE__ #include diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index c7983a224a..09d02891f1 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -512,10 +512,9 @@ void Emulator::SavePoints(const std::string& path) void Emulator::LoadPoints(const std::string& path) { - if (!rExists(path)) return; - //struct stat buf; - //if (!stat(path.c_str(), &buf)) - //return; + struct stat buf; + if (!stat(path.c_str(), &buf)) + return; std::ifstream f(path, std::ios::binary); if (!f.is_open()) return; diff --git a/rpcs3/stdafx.h b/rpcs3/stdafx.h index 232bfd704c..fdac429bb2 100644 --- a/rpcs3/stdafx.h +++ b/rpcs3/stdafx.h @@ -32,6 +32,7 @@ #include #include +#include #include "Utilities/GNU.h" typedef unsigned int uint;