mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-03 12:30:08 +00:00
floppyimg: Add null floppy image converter check.
This commit is contained in:
parent
8cc67b09c2
commit
3c2887f8c3
@ -311,7 +311,7 @@ FloppyImgConverter* open_floppy_image(std::string& img_path)
|
||||
fconv = new RawFloppyImg(img_path);
|
||||
}
|
||||
|
||||
if (fconv->calc_phys_params()) {
|
||||
if (fconv && fconv->calc_phys_params()) {
|
||||
delete fconv;
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user