Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


clean up
[palacios.git] / palacios / src / devices / ramdisk.c
index 14d1dc9..cb92ca9 100644 (file)
@@ -1924,11 +1924,11 @@ int handle_atapi_packet_command(struct vm_device * dev, struct channel_t * chann
                }
            case 0x42:  // read sub-channel
                {
-                   //bool msf = get_packet_field(channel,1, 1, 1);
-                   bool sub_q = get_packet_field(channel,2, 6, 1);
-                   //uint8_t data_format = get_packet_byte(channel,3);
-                   //uint8_t track_number = get_packet_byte(channel,6);
-                   uint16_t alloc_length = get_packet_word(channel,7);
+                   //bool msf = get_packet_field(channel, 1, 1, 1);
+                   bool sub_q = get_packet_field(channel, 2, 6, 1);
+                   //uint8_t data_format = get_packet_byte(channel, 3);
+                   //uint8_t track_number = get_packet_byte(channel, 6);
+                   uint16_t alloc_length = get_packet_word(channel, 7);
        
 
                    /*