Um... yes, fixed VHD's are supported

This commit is contained in:
shermp
2019-11-01 17:56:29 +13:00
parent 3b159496ac
commit 20949a1c5e

View File

@@ -452,7 +452,7 @@ MVHDMeta* mvhd_open(const char* path, bool readonly, int* err) {
goto cleanup_bat;
}
} else if (vhdm->footer.disk_type == MVHD_TYPE_FIXED) {
} else if (vhdm->footer.disk_type != MVHD_TYPE_FIXED) {
*err = MVHD_ERR_TYPE;
goto cleanup_bitmap;
}