mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-06-01 08:41:36 +00:00
Whitespace/Type cleanup
This commit is contained in:
parent
a45af3edec
commit
ba06827814
|
@ -339,7 +339,6 @@ bool hddimageOpen(SCSI_DEVICE *dev, FsFile *file,int id,int lun,int blocksize)
|
||||||
return true; // File opened
|
return true; // File opened
|
||||||
|
|
||||||
failed:
|
failed:
|
||||||
|
|
||||||
dev->m_file.close();
|
dev->m_file.close();
|
||||||
dev->m_fileSize = dev->m_blocksize = 0; // no file
|
dev->m_fileSize = dev->m_blocksize = 0; // no file
|
||||||
//delete dev->m_file;
|
//delete dev->m_file;
|
||||||
|
@ -635,7 +634,7 @@ void findDriveImages(FsFile root) {
|
||||||
int lun = 0;
|
int lun = 0;
|
||||||
int blk = 512;
|
int blk = 512;
|
||||||
|
|
||||||
// Positionally read in and coerase the chars to integers.
|
// Positionally read in and coerce the chars to integers.
|
||||||
// We only require the minimum and read in the next if provided.
|
// We only require the minimum and read in the next if provided.
|
||||||
int file_name_length = strlen(name);
|
int file_name_length = strlen(name);
|
||||||
if(file_name_length > 2) { // HD[N]
|
if(file_name_length > 2) { // HD[N]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user