mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Switch to using FAT classes for advanced settings
- No longer relies on operating system for mounting FAT partition when applying 'advanced settings' - change '__attribute__ ((packed))' to '#pragma pack()' as the mingw version we are using for Windows has a bug with the former
This commit is contained in:
parent
ebc6edc0c3
commit
5fa3fbe8dc
5 changed files with 142 additions and 321 deletions
|
@ -483,7 +483,7 @@ bool DeviceWrapperFatPartition::dirNameExists(const QByteArray dirname)
|
|||
while (readDir(&entry))
|
||||
{
|
||||
if (!(entry.DIR_Attr & ATTR_LONG_NAME)
|
||||
&& dirname == QByteArray(entry.DIR_Name, sizeof(entry.DIR_Name)))
|
||||
&& dirname == QByteArray((char *) entry.DIR_Name, sizeof(entry.DIR_Name)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue