Merge pull request #12793 from Xbox-Homebrew/master

fix loading arcade dat files
This commit is contained in:
Autechre 2021-08-13 22:07:59 +02:00 committed by GitHub
commit fe10d285ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -851,6 +851,7 @@ int retro_vfs_stat_impl(const char *path, int32_t *size)
{
sz.HighPart = attribdata.nFileSizeHigh;
sz.LowPart = attribdata.nFileSizeLow;
*size = sz.QuadPart;
}
}
return (file_info & FILE_ATTRIBUTE_DIRECTORY) ? RETRO_VFS_STAT_IS_VALID | RETRO_VFS_STAT_IS_DIRECTORY : RETRO_VFS_STAT_IS_VALID;