glankk / gz

Ocarina of Time trainer
https://glankk.github.io/gz
199 stars 50 forks source link

fix error when checking if a cluster is free #62

Closed krimtonz closed 3 years ago

krimtonz commented 3 years ago

Fixes an error when determining the first free cluster, It was checking if the pointer was null versus checking if the cluster value was 0, this would cause incorrect reporting of available free space in check_free_space, causing large files to incorrectly unable to allocate.