Selaa lähdekoodia

Merge pull request #85 from erichelgeson/eric/init_blk1

init blk1
Eric Helgeson 3 vuotta sitten
vanhempi
sitoutus
08f25847f2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/BlueSCSI.cpp

+ 1 - 1
src/BlueSCSI.cpp

@@ -546,7 +546,7 @@ void findDriveImages(FsFile root) {
           }
         }
 
-        int blk1, blk2, blk3, blk4 = 0;
+        int blk1 = 0, blk2, blk3, blk4 = 0;
         if(file_name_length > 8) { // HD00_[111]
           blk1 = name[HDIMG_BLK_POS] - '0';
           blk2 = name[HDIMG_BLK_POS+1] - '0';