mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
ea934759e1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@12 8ced0084-cf51-0410-be5f-012b33b47a6e
11 lines
223 B
C++
11 lines
223 B
C++
#include "Common.h"
|
|
#include "FileUtil.h"
|
|
|
|
bool File::Exists(const std::string &filename)
|
|
{
|
|
#ifdef _WIN32
|
|
return GetFileAttributes(filename.c_str()) != INVALID_FILE_ATTRIBUTES;
|
|
#else
|
|
return true; //TODO
|
|
#endif
|
|
} |