mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-05 18:02:39 +00:00
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:
parent
7765b3f556
commit
eaaea3da94
13 changed files with 159 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue