--- hatari/src/includes/floppy.h 2019/04/01 07:14:51 1.1.1.7 +++ hatari/src/includes/floppy.h 2019/04/01 07:15:32 1.1.1.8 @@ -13,12 +13,13 @@ /* Structure for each drive connected as emulation */ typedef struct { - Uint8 *pBuffer; - int nImageBytes; - bool bDiskInserted; - bool bMediaChanged; - bool bContentsChanged; - bool bOKToSave; + Uint8 *pBuffer; + char sFileName[FILENAME_MAX]; + int nImageBytes; + bool bDiskInserted; + bool bMediaChanged; + bool bContentsChanged; + bool bOKToSave; } EMULATION_DRIVE; #define MAX_FLOPPYDRIVES 2 /* A:, B: */ @@ -36,11 +37,8 @@ extern const char* Floppy_SetDiskFileNam extern const char* Floppy_SetDiskFileName(int Drive, const char *pszFileName, const char *pszZipPath); extern bool Floppy_InsertDiskIntoDrive(int Drive); extern bool Floppy_EjectDiskFromDrive(int Drive); -extern bool Floppy_EjectBothDrives(void); extern void Floppy_FindDiskDetails(const Uint8 *pBuffer, int nImageBytes, Uint16 *pnSectorsPerTrack, Uint16 *pnSides); extern bool Floppy_ReadSectors(int Drive, Uint8 *pBuffer, Uint16 Sector, Uint16 Track, Uint16 Side, short Count, int *pnSectorsPerTrack); extern bool Floppy_WriteSectors(int Drive, Uint8 *pBuffer, Uint16 Sector, Uint16 Track, Uint16 Side, short Count, int *pnSectorsPerTrack); -extern int Floppy_GetPhysicalSectorsPerTrack(int Drive); -extern bool Floppy_ReadPhysicalSector(int Drive,char *pBuffer, Uint16 Sector, Uint16 Track, Uint16 Side, short Count); #endif