Hi,
when adding a disc that has a size of e.g. 4.09 GB (Crash: Mind over
Mutant), it is displayed as 0.09 GB. I think this is a bug in
wbfs_estimate_disc, the size of an integer is wrong there.
As my WBFS Manager also uses libwbfs, it had the same problem. I've fixed
it by making the method returning the type u64 and added a typecast to the
last line:
return (u64) tot * ((p->wbfs_sec_sz / p->hd_sec_sz) * 512);
Original issue reported on code.google.com by hendi20...@googlemail.com on 8 Jul 2009 at 5:49
Original issue reported on code.google.com by
hendi20...@googlemail.com
on 8 Jul 2009 at 5:49