25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: diskimage.c,v 1.91 2005/05/27 07:29:24 debug Exp $ |
* $Id: diskimage.c,v 1.94 2005/06/26 09:21:27 debug Exp $ |
29 |
* |
* |
30 |
* Disk image support. |
* Disk image support. |
31 |
* |
* |
919 |
xferp->data_in, size); |
xferp->data_in, size); |
920 |
|
|
921 |
if (d->is_a_tape && d->f != NULL) |
if (d->is_a_tape && d->f != NULL) |
922 |
d->tape_offset = ftell(d->f); |
d->tape_offset = ftello(d->f); |
923 |
|
|
924 |
/* TODO: other errors? */ |
/* TODO: other errors? */ |
925 |
break; |
break; |
1303 |
&xferp->data_in, retlen, 1); |
&xferp->data_in, retlen, 1); |
1304 |
|
|
1305 |
diskimage__return_default_status_and_message(xferp); |
diskimage__return_default_status_and_message(xferp); |
1306 |
|
|
1307 |
break; |
break; |
1308 |
|
|
1309 |
default: |
default: |
1475 |
/* Special cases: some machines usually have FLOPPY/IDE, not SCSI: */ |
/* Special cases: some machines usually have FLOPPY/IDE, not SCSI: */ |
1476 |
if (machine->arch == ARCH_X86 || |
if (machine->arch == ARCH_X86 || |
1477 |
machine->machine_type == MACHINE_COBALT || |
machine->machine_type == MACHINE_COBALT || |
1478 |
|
machine->machine_type == MACHINE_EVBMIPS || |
1479 |
machine->machine_type == MACHINE_HPCMIPS || |
machine->machine_type == MACHINE_HPCMIPS || |
1480 |
machine->machine_type == MACHINE_PS2) |
machine->machine_type == MACHINE_PS2) |
1481 |
d->type = DISKIMAGE_IDE; |
d->type = DISKIMAGE_IDE; |