Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@34 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-07-20 15:12:12 +00:00
parent 7765b3f556
commit eaaea3da94
13 changed files with 159 additions and 9 deletions

View file

@ -11,6 +11,13 @@ bool File::Exists(const std::string &filename)
#endif
}
bool File::IsDirectory(const std::string &filename) {
#ifdef _WIN32
return (GetFileAttributes(filename.c_str()) & FILE_ATTRIBUTE_DIRECTORY) != 0;
#else
return false; //TODO
#endif
}
std::string SanitizePath(const std::string &filename) {
std::string copy = filename;