summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
blob: 1eb5540486e2f673638080f1ea755dde5969c52e (plain)
1
2
3
4
5
6
7
8
9
10
11
#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
}