--- np2/fdd/newdisk.c 2004/01/22 01:10:04 1.4 +++ np2/fdd/newdisk.c 2004/01/26 14:49:14 1.5 @@ -8,7 +8,7 @@ // ---- fdd -void newdisk_fdd(const char *fname, BYTE type, const char *label) { +void newdisk_fdd(const char *fname, REG8 type, const char *label) { _D88HEAD d88head; FILEH fh; @@ -27,8 +27,6 @@ void newdisk_fdd(const char *fname, BYTE // ---- hdd -static const char vhd_ver[] = "VHD1.00"; - static BOOL writezero(FILEH fh, UINT size) { BYTE work[256]; @@ -121,7 +119,7 @@ void newdisk_vhd(const char *fname, UINT fh = file_create(fname); if (fh != FILEH_INVALID) { ZeroMemory(&vhd, sizeof(vhd)); - CopyMemory(&vhd.sig, vhd_ver, 7); + CopyMemory(&vhd.sig, sig_vhd, 7); STOREINTELWORD(vhd.mbsize, (UINT16)hddsize); STOREINTELWORD(vhd.sectorsize, 256); vhd.sectors = 32;