Rockbox mail archive
Subject: Trouble with DIGROM2.TGZ (new ata.c)
From: alankorr (alankorr_at_subdimension.com)
Date: 2002-01-19
Hummm ja es gibt noch ein Problem !
My bug fix in ata.c wasn't really one.
Maybe "cluster = (swabHI(root[i].cluster_hi)<<16)|((unsigned
short)swabHI(root[i].cluster_lo));" should have been
"cluster =
(swabHI(root[i].cluster_hi)<<16)|swabHI(((unsigned short
*)(&(root[i].cluster_lo));"
But anyway I changed struct { ... } root[...]; to have field
"cluster_lo" as unsigned short instead of short. That way we
should not have this undesirable signed extension at all
even with "cluster =
(swabHI(root[i].cluster_hi)<<16)|swabHI(root[i].cluster_lo);
" now.
I really hope this version works.
- application/x-zip-compressed attachment: ata.zip
_____________________________________________________________________
// free anonymous email || forums \\ subZINE || anonymous browsing
subDIMENSION -- http://www.subdimension.com
Page was last modified "Mar 9 2008" The Rockbox Crew
|