Selaa lähdekoodia

Fix my earlier error, this should have been advancing the pointer.

saybur 2 vuotta sitten
vanhempi
sitoutus
d9ec051461
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/BlueSCSI_cdrom.cpp

+ 2 - 2
src/BlueSCSI_cdrom.cpp

@@ -1348,7 +1348,7 @@ static void doReadSubchannel(bool time, bool subq, uint8_t parameter, uint8_t tr
             {
                 LBA2MSF(lba, buf);
                 debuglog("------ ABS M ", *(buf+1), " S ", *(buf+2), " F ", *(buf+3));
-                *buf += 4;
+                buf += 4;
             }
             else
             {
@@ -1363,7 +1363,7 @@ static void doReadSubchannel(bool time, bool subq, uint8_t parameter, uint8_t tr
             {
                 LBA2MSF(relpos, buf);
                 debuglog("------ REL M ", *(buf+1), " S ", *(buf+2), " F ", *(buf+3));
-                *buf += 4;
+                buf += 4;
             }
             else
             {