mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
Clean up includes in DiscIO as much as possible.
Also turned a long iterator declaration in VolumeDirectory.cpp to using auto in order to shorten it.
This commit is contained in:
parent
82fd579506
commit
207547b425
12 changed files with 19 additions and 27 deletions
|
@ -36,8 +36,8 @@ DriveReader::DriveReader(const char *drive)
|
|||
// removal while reading from it.
|
||||
pmrLockCDROM.PreventMediaRemoval = TRUE;
|
||||
DeviceIoControl(hDisc, IOCTL_CDROM_MEDIA_REMOVAL,
|
||||
&pmrLockCDROM, sizeof(pmrLockCDROM), NULL,
|
||||
0, &dwNotUsed, NULL);
|
||||
&pmrLockCDROM, sizeof(pmrLockCDROM), NULL,
|
||||
0, &dwNotUsed, NULL);
|
||||
#endif
|
||||
#else
|
||||
SectorReader::SetSectorSize(2048);
|
||||
|
@ -67,7 +67,7 @@ DriveReader::~DriveReader()
|
|||
}
|
||||
#else
|
||||
file_.Close();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
DriveReader *DriveReader::Create(const char *drive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue