mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-11 19:29:47 +00:00
fixed detection error
This commit is contained in:
parent
4806c13bea
commit
91b63158f1
@ -171,7 +171,9 @@ public class CPMDisk extends AbstractFormattedDisk
|
||||
for (int i = 0; i < buffer.length; i += 32)
|
||||
{
|
||||
int val = buffer[i] & 0xFF;
|
||||
if (val > 31 && val != 0xE5)
|
||||
if (val == 0xE5)
|
||||
return true;
|
||||
if (val > 31)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user