mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-06-12 15:29:28 +00:00
don't try to interpret the boot sector
This commit is contained in:
parent
2914bf699f
commit
4a36fa395c
|
@ -1,3 +1,3 @@
|
|||
#Build Number for ANT. Do not edit!
|
||||
#Sun Dec 13 21:01:46 AEDT 2015
|
||||
build.number=631
|
||||
#Sun Dec 13 21:15:20 AEDT 2015
|
||||
build.number=632
|
||||
|
|
|
@ -23,8 +23,8 @@ public class BootSector extends AbstractSector
|
|||
{
|
||||
// The first byte in the buffer is the number of sectors to read in (minus 1)
|
||||
int sectors = buffer[0] & 0xFF;
|
||||
// System.out.printf ("Sectors to read : %d%n", (sectors + 1));
|
||||
if (sectors > 0 && sectors < 10) // probably not what I think it is
|
||||
System.out.printf ("Sectors to read : %d%n", (sectors + 1));
|
||||
if (false) // probably not what I think it is
|
||||
{
|
||||
int bufferSize = buffer.length * (sectors + 1);
|
||||
byte[] newBuffer = new byte[bufferSize];
|
||||
|
|
Loading…
Reference in New Issue
Block a user