mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 22:58:50 +00:00
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
This commit is contained in:
parent
3915f0fbca
commit
3f90bb215c
6 changed files with 46 additions and 60 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue