/[gxemul]/trunk/src/diskimage.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/diskimage.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11 by dpavlin, Mon Oct 8 16:18:27 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: diskimage.c,v 1.94 2005/06/26 09:21:27 debug Exp $   *  $Id: diskimage.c,v 1.95 2005/08/10 22:25:50 debug Exp $
29   *   *
30   *  Disk image support.   *  Disk image support.
31   *   *
# Line 409  static size_t diskimage_access__cdrom(st Line 409  static size_t diskimage_access__cdrom(st
409  static int diskimage__internal_access(struct diskimage *d, int writeflag,  static int diskimage__internal_access(struct diskimage *d, int writeflag,
410          off_t offset, unsigned char *buf, size_t len)          off_t offset, unsigned char *buf, size_t len)
411  {  {
412          size_t lendone;          ssize_t lendone;
413          int res;          int res;
414    
415          if (buf == NULL) {          if (buf == NULL) {
# Line 1006  xferp->data_in[4] = 0x2c - 4;  /*  Additi Line 1006  xferp->data_in[4] = 0x2c - 4;  /*  Additi
1006                  if (xferp->cmd_len != 6)                  if (xferp->cmd_len != 6)
1007                          debug(" (weird len=%i)", xferp->cmd_len);                          debug(" (weird len=%i)", xferp->cmd_len);
1008    
1009                  for (i=0; i<xferp->cmd_len ; i++)                  for (i=0; i<xferp->cmd_len; i++)
1010                          debug(" %02x", xferp->cmd[i]);                          debug(" %02x", xferp->cmd[i]);
1011    
1012                  /*  TODO: actualy care about cmd[]  */                  /*  TODO: actualy care about cmd[]  */

Legend:
Removed from v.11  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26