From e468bd6fef8f8c37d7dfd059d2ee6ad8b8bf7e97 Mon Sep 17 00:00:00 2001 From: Eric Helgeson Date: Sun, 3 Apr 2022 14:51:22 -0500 Subject: [PATCH] init blk1 Thanks to @moof via discord --- src/BlueSCSI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BlueSCSI.cpp b/src/BlueSCSI.cpp index a3c97c9..e4ad606 100644 --- a/src/BlueSCSI.cpp +++ b/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';