mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Compilation fix 3
This commit is contained in:
parent
12f4f35cfa
commit
851ae920b9
3 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue