mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
import from MESS (no whatsnew)
This commit is contained in:
parent
417378e40c
commit
cfabeee3ab
@ -256,7 +256,7 @@ bool cassette_image_device::call_load()
|
|||||||
device_image_interface *image = NULL;
|
device_image_interface *image = NULL;
|
||||||
interface(image);
|
interface(image);
|
||||||
|
|
||||||
if (has_been_created())
|
if ((has_been_created()) || (length() == 0))
|
||||||
{
|
{
|
||||||
/* creating an image */
|
/* creating an image */
|
||||||
err = cassette_create((void *)image, &image_ioprocs, &wavfile_format, m_create_opts, CASSETTE_FLAG_READWRITE|CASSETTE_FLAG_SAVEONEXIT, &m_cassette);
|
err = cassette_create((void *)image, &image_ioprocs, &wavfile_format, m_create_opts, CASSETTE_FLAG_READWRITE|CASSETTE_FLAG_SAVEONEXIT, &m_cassette);
|
||||||
|
Loading…
Reference in New Issue
Block a user