mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fixes issue 1777.
plus a fix for wiimote detection on win32 when using the default MS stack git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4989 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -68,10 +68,10 @@ inline char *StripTailDirSlashes(char *fname)
|
||||
// Returns true if file filename exists
|
||||
bool Exists(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);
|
||||
|
||||
return (result == 0);
|
||||
|
Reference in New Issue
Block a user