mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
floptool: Allow creating unformatted images again
This commit is contained in:
parent
01b611a51f
commit
0e7d9c43e0
@ -244,7 +244,7 @@ static int flopcreate(int argc, char *argv[])
|
||||
fprintf(stderr, "Error: Floppy creation format '%s' unknown\n", argv[3]);
|
||||
return 1;
|
||||
}
|
||||
if(!create_fs->m_manager->can_format()) {
|
||||
if(create_fs->m_manager && !create_fs->m_manager->can_format()) {
|
||||
fprintf(stderr, "Error: Floppy creation format '%s' does not support creating new images\n", argv[3]);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user