Jelajahi Sumber

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

saybur 2 tahun lalu
induk
melakukan
d9ec051461
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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
             {