cdrom: Properly empty the path of image if it can't be loaded
This commit is contained in:
@@ -257,6 +257,7 @@ image_open_abort(cdrom_t *dev)
|
||||
cdrom_image_close(dev);
|
||||
dev->ops = NULL;
|
||||
dev->host_drive = 0;
|
||||
dev->image_path[0] = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user