diff options
| author | 2015-01-28 09:20:10 +0100 | |
|---|---|---|
| committer | 2015-01-28 09:20:10 +0100 | |
| commit | 26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 (patch) | |
| tree | bab4468226c59d590688e0ece892f5bfbca58736 /src/tools/chdman.c | |
| parent | 13b862c4fae88f0f819c2c4416d49249e4de45b9 (diff) | |
Cleanups and version bumpmame0158
Diffstat (limited to 'src/tools/chdman.c')
| -rw-r--r-- | src/tools/chdman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c index a824c701d74..c71f7d2b94d 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -1702,7 +1702,7 @@ static void do_create_hd(parameters_t ¶ms) report_error(1, "Invalid size string"); } } - + // process compression chd_codec_type compression[4]; memcpy(compression, s_default_hd_compression, sizeof(compression)); @@ -1757,7 +1757,7 @@ static void do_create_hd(parameters_t ¶ms) if (sscanf(metadata, HARD_DISK_METADATA_FORMAT, &cylinders, &heads, §ors, §or_size) != 4) report_error(1, "Error parsing hard disk metadata in parent CHD"); } - + // validate the size if (filesize % sector_size != 0) report_error(1, "Data size is not divisible by sector size %d", sector_size); |
