[hatari-devel] Bug in hdc.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


I'm adding real drive capacity detection to EmuTOS, by issuing a READ CAPACITY 
command.  In Hatari, the wrong value for capacity is returned because 
HDC_Cmd_ReadCapacity() divides hdSize by 512 to get the capacity in sectors; 
however, hdSize is already in sectors.

Roger




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/