Changeset 67301 in vbox
- Timestamp:
- Jun 8, 2017 1:49:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/fatvfs.cpp
r66850 r67301 1225 1225 pbFat[offFat + 1] = 0xff; 1226 1226 } 1227 else if ( pbFat[offFat]1228 || pbFat[offFat + 1] & 0x0f)1229 {1230 offFat += 1;1231 idxCluster++;1232 continue;1233 }1234 1227 else 1235 1228 { 1229 if ( pbFat[offFat] 1230 || pbFat[offFat + 1] & 0x0f) 1231 { 1232 offFat += 1; 1233 idxCluster++; 1234 continue; 1235 } 1236 1236 1237 /* Set EOC. */ 1237 1238 pbFat[offFat] = 0xff; … … 1254 1255 { 1255 1256 pbFat[offFatPrev] = (uint8_t)idxCluster; 1256 pbFat[offFatPrev + 1] = (pbFat[offFatPrev ] & (uint8_t)0xf0) | ((uint8_t)(idxCluster >> 8) & (uint8_t)0x0f);1257 pbFat[offFatPrev + 1] = (pbFat[offFatPrev + 1] & (uint8_t)0xf0) | ((uint8_t)(idxCluster >> 8) & (uint8_t)0x0f); 1257 1258 } 1258 1259 rtFsFatClusterMap_SetDirtyByte(pFatCache, 0, offFatPrev);
Note:
See TracChangeset
for help on using the changeset viewer.