<html>
<body>
  <div id="body" style="background-color:#ffffff;" >
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head" style="border-bottom-width:1px;border-bottom-style:solid;" ><td class="headtd" style="padding:0;padding-top:.2em;" colspan="4">Commit in <b><tt>lxdream/src/drivers/cdrom</tt></b></td></tr>
<tr><td><tt><a href="#file1">isofs.c</a></tt></td><td id="added" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ddffdd;" align="right">+4</td><td id="removed" class="headtd2" style="padding-left:.3em;padding-right:.3em; background-color:#ffdddd;" align="right">-2</td><td class="headtd2" style="padding-left:.3em;padding-right:.3em;" nowrap="nowrap">174fa8e137b6 -> 2fbf712e53f0</td></tr>
</table>
<pre class="comment" style="white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;padding:4px;border:1px dashed #000000;background-color:#ffffdd;" >
Remove call to iso_write_opts_set_system_area and just write the bootstrap
area out manually - apparently this function was not present in earlier
versions
</pre>
<hr /><a name="file1" /><div class="file" style="border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;" >
<span class="pathname" style="font-family:monospace; float:right;" >lxdream/src/drivers/cdrom</span><br />
<div class="fileheader" style="margin-bottom:.5em;" ><big><b>isofs.c</b></big> <small id="info" style="color: #888888;" >174fa8e137b6 -> 2fbf712e53f0</small></div>
<pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >--- lxdream/src/drivers/cdrom/isofs.c
+++ lxdream/src/drivers/cdrom/isofs.c
@@ -174,7 +174,6 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     }
     iso_write_opts_set_appendable(opts,0);
     iso_write_opts_set_ms_block(opts, start_sector);
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-    iso_write_opts_set_system_area(opts, (char *)bootstrap, 0, 0);
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" > 
     status = iso_image_create_burn_source(image, opts, &burn);
     iso_write_opts_free(opts);
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -197,6 +196,7 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     int fd = file_sector_source_get_fd(source);
     source->size = expect;
     lseek( fd, 0, SEEK_SET );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+    write( fd, bootstrap, 32768 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     for( cdrom_count_t count = 0; count < expect; count++ ) {
         if( burn->read == NULL ) {
             status = burn->read_xt(burn, buf, 2048);
</pre><pre class="diff" style="margin:0;" ><small id="info" style="color: #888888;" >@@ -212,7 +212,9 @@
</small></pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >             source = NULL;
             break;
         }
</pre><pre id="removed" class="diff" style="margin:0; background-color:#ffdddd;" >-        write( fd, buf, 2048 );
</pre><pre id="added" class="diff" style="margin:0; background-color:#ddffdd;" >+        /* Discard first 16 sectors, replaced with the bootstrap */
+        if( count >= (32768/2048) )
+            write( fd, buf, 2048 );
</pre><pre id="context" class="diff" style="margin:0; background-color:#eeeeee;" >     }
     burn->free_data(burn);
     free(burn);
</pre></div>
<center><small>Chaos Theory</small></center>
</div></body></html>