int length = 2 * fwlen;
uae_u32 odd, even, chksum, id, dlong;
uae_u8 *secdata;
- uae_u8 secbuf[544], secheadbuf[16];
+ uae_u8 secbuf[544];
uae_u16 *mend = mbuf + length, *mstart;
uae_u32 sechead[4];
int shift = 0;
static int drive_write_adf_amigados (drive *drv)
{
- int drvsec, i;
+ int drvsec;
int sectable[MAX_SECTORS];
if (decode_buffer (drv->bigmfmbuf, drv->cyl, drv->num_secs, drv->ddhd, drv->filetype, &drvsec, sectable, 0))
{
uae_u8 bootblock[1024];
bool bb_crc_valid;
- uae_u32 crc32;
+ uae_u32 imagecrc32;
+ uae_u32 bootblockcrc32;
bool hd;
bool unreadable;
int bootblocktype;
TCHAR diskname[110];
+ TCHAR bootblockinfo[256];
+ TCHAR bootblockclass[256];
};
#define FLOPPY_RATE_500K 0
extern void dumpdisk (const TCHAR*);
extern int DISK_history_add (const TCHAR *name, int idx, int type, int donotcheck);
extern TCHAR *DISK_history_get (int idx, int type);
-int DISK_examine_image (struct uae_prefs *p, int num, struct diskinfo *di);
+int DISK_examine_image (struct uae_prefs *p, int num, struct diskinfo *di, bool deepcheck);
extern TCHAR *DISK_get_saveimagepath(const TCHAR *name, int type);
extern void DISK_reinsert (int num);
extern int disk_prevnext (int drive, int dir);