mirror of
https://github.com/holub/mame
synced 2025-05-25 23:35:26 +03:00
Fixed bug where chdman -extract would not truncate to the logical size.
This commit is contained in:
parent
29a0fd90b4
commit
15ecfc3d29
@ -1323,6 +1323,7 @@ static int do_extract(int argc, char *argv[], int param)
|
|||||||
err = CHDERR_WRITE_ERROR;
|
err = CHDERR_WRITE_ERROR;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
bytesremaining -= byteswritten;
|
||||||
}
|
}
|
||||||
progress(TRUE, "Extraction complete! \n");
|
progress(TRUE, "Extraction complete! \n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user