removed some not used variables (nw)

This commit is contained in:
Miodrag Milanovic 2012-08-04 15:12:02 +00:00
parent 5c6008e960
commit 851081b772
2 changed files with 5 additions and 5 deletions

View File

@ -381,14 +381,14 @@ bool dsk_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
track_header tr;
io_generic_read(io, &tr,track_offsets[(track<<1)+side],sizeof(tr));
//printf("%d,%d %d, %d\n",track,side,tr.track_number, tr.gap3_length);
int sec_location = track_offsets[(track<<1)+side] + 0x100;
//int sec_location = track_offsets[(track<<1)+side] + 0x100;
for(int j=0;j<tr.number_of_sector;j++)
{
sector_header sector;
io_generic_read(io, &sector,track_offsets[(track<<1)+side]+sizeof(tr)+(sizeof(sector)*j),sizeof(sector));
//printf("sec %02x %08x\n",sector.sector_id,sec_location);
sec_location += sector.data_lenght;
//sec_location += sector.data_lenght;
}
counter++;
}

View File

@ -1948,7 +1948,7 @@ WRITE32_HANDLER( stvcd_w )
static void read_new_dir(running_machine &machine, UINT32 fileno)
{
int foundpd, i;
UINT32 cfad, dirfad;
UINT32 cfad;//, dirfad;
UINT8 sect[2048];
if (fileno == 0xffffff)
@ -1991,8 +1991,8 @@ static void read_new_dir(running_machine &machine, UINT32 fileno)
// got primary vol. desc.
if (foundpd)
{
dirfad = sect[140] | (sect[141]<<8) | (sect[142]<<16) | (sect[143]<<24);
dirfad += 150;
//dirfad = sect[140] | (sect[141]<<8) | (sect[142]<<16) | (sect[143]<<24);
//dirfad += 150;
// parse root entry
curroot.firstfad = sect[158] | (sect[159]<<8) | (sect[160]<<16) | (sect[161]<<24);