diff options
| author | luisr142004 <luisr142004@gmail.com> | 2010-02-08 09:57:52 +0000 |
|---|---|---|
| committer | luisr142004 <luisr142004@gmail.com> | 2010-02-08 09:57:52 +0000 |
| commit | 3f90bb215ce88634cb8772d93dd03c6129fdef3b (patch) | |
| tree | ff44f04a2d06d3a60e4ed3224465163f814e5b49 /Source/Core/Common | |
| parent | 3915f0fbcabf8f2bb4fbf69cf57d9788eef3a1f0 (diff) | |
make ESC quit the game instead of toggling out of/into full screen mode (fixes issue 2246),
implement proper window handling (d3d/sw) which i believe fixes a hang that occurs when a game is stopped (plz test this :)) + some minor stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5030 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 34c93d82cf..6ddd6cdee7 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -80,11 +80,11 @@ bool Exists(const char *filename) // Returns true if filename is a directory bool IsDirectory(const char *filename) { - struct stat file_info; + struct stat64 file_info; char *copy = StripTailDirSlashes(__strdup(filename)); - int result = stat(copy, &file_info); + int result = stat64(copy, &file_info); free(copy); if (result < 0) { |
