summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev/cassette.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2011-03-31 13:21:58 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2011-03-31 13:21:58 +0000
commit33c28764d13fc110179f0473485b0a6ab17101e4 (patch)
tree631abafbf7ca6aa61359f13409776283ec3b4d44 /src/emu/imagedev/cassette.c
parente86777d67073a920d7eb1f55c44b48ed4b91e31f (diff)
Fixed compiling tools in MAME and MESS side (no whatsnew)
Diffstat (limited to 'src/emu/imagedev/cassette.c')
-rw-r--r--src/emu/imagedev/cassette.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/imagedev/cassette.c b/src/emu/imagedev/cassette.c
index 555196c890b..735327c4f47 100644
--- a/src/emu/imagedev/cassette.c
+++ b/src/emu/imagedev/cassette.c
@@ -273,7 +273,7 @@ static DEVICE_IMAGE_LOAD( cassette )
{
/* creating an image */
create_opts = cassette->config->create_opts;
- err = cassette_create(device->machine(), (void *) &image, &image_ioprocs, &wavfile_format, create_opts, CASSETTE_FLAG_READWRITE|CASSETTE_FLAG_SAVEONEXIT, &cassette->cassette);
+ err = cassette_create((void *) &image, &image_ioprocs, &wavfile_format, create_opts, CASSETTE_FLAG_READWRITE|CASSETTE_FLAG_SAVEONEXIT, &cassette->cassette);
if (err)
goto error;
}
@@ -285,7 +285,7 @@ static DEVICE_IMAGE_LOAD( cassette )
is_writable = image.is_writable();
cassette_flags = is_writable ? (CASSETTE_FLAG_READWRITE|CASSETTE_FLAG_SAVEONEXIT) : CASSETTE_FLAG_READONLY;
extension = image.filetype();
- err = cassette_open_choices(device->machine(),(void *) &image, &image_ioprocs, extension, formats, cassette_flags, &cassette->cassette);
+ err = cassette_open_choices((void *) &image, &image_ioprocs, extension, formats, cassette_flags, &cassette->cassette);
/* this is kind of a hack */
if (err && is_writable)