diff --git a/GRUB2/MOD_SRC/grub-2.04/grub-core/fs/ntfs.c b/GRUB2/MOD_SRC/grub-2.04/grub-core/fs/ntfs.c index f6c98c9b..e28b82aa 100644 --- a/GRUB2/MOD_SRC/grub-2.04/grub-core/fs/ntfs.c +++ b/GRUB2/MOD_SRC/grub-2.04/grub-core/fs/ntfs.c @@ -995,19 +995,8 @@ grub_ntfs_dir_iter (const char *filename, enum grub_fshelp_filetype filetype, info.mtime = grub_divmod64 (node->mtime, 10000000, 0) - 86400ULL * 365 * (1970 - 1601) - 86400ULL * ((1970 - 1601) / 4) + 86400ULL * ((1970 - 1601) / 100); - if (!info.dir) - { - struct grub_ntfs_file *mft = (struct grub_ntfs_file *)node; - info.size = mft->size; - if (!mft->inode_read) - { - init_file(mft, mft->ino); - info.size = mft->size; - free_file(mft); - } - } - + info.size = node->size; grub_free (node); return ctx->hook (filename, &info, ctx->hook_data); } diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index c8ca419b..4e99232a 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -2069,7 +2069,7 @@ function img_unsupport_menuentry { ############################################################# ############################################################# -set VENTOY_VERSION="1.0.68" +set VENTOY_VERSION="1.0.69" #ACPI not compatible with Window7/8, so disable by default set VTOY_PARAM_NO_ACPI=1