Cleaned up the MO struct and some fixed to the new image dialpg.

This commit is contained in:
OBattler
2020-07-19 17:49:58 +02:00
parent 07eded0225
commit d1fca11137
3 changed files with 15 additions and 17 deletions

View File

@@ -543,7 +543,7 @@ create_mo_sector_image(WCHAR *file_name, int8_t disk_size, uint8_t is_mdi, HWND
total_sectors = dp->sectors;
total_size = total_sectors * sector_bytes;
pbar_max = dp->sectors >> 11;
pbar_max = total_size;
if (is_mdi)
pbar_max += base;
pbar_max >>= 11;