Browse Source

Fix var name when *_SPEED_OPTIMIZE is off

Eric Helgeson 4 years ago
parent
commit
15f941e0aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/BlueSCSI.cpp

+ 1 - 1
src/BlueSCSI.cpp

@@ -746,7 +746,7 @@ void writeDataPhaseSD(uint32_t adds, uint32_t len)
     }while(srcptr < endptr);
     SCSI_DB_INPUT()
 #else
-    for(int j = 0; j < BLOCKSIZE; j++) {
+    for(int j = 0; j < m_img->m_blocksize; j++) {
       if(m_isBusReset) {
         return;
       }