src/mess/formats/zx81_p.c
| r3915 | r3916 | |
| 31 | 31 | |
| 32 | 32 | #include "driver.h" |
| 33 | 33 | #include "zx81_p.h" |
| 34 | | #include "deprecat.h" |
| 35 | 34 | #include "devices/cassette.h" |
| 36 | 35 | |
| 37 | 36 | |
| r3915 | r3916 | |
| 210 | 209 | |
| 211 | 210 | static casserr_t zx81_p_load(cassette_image *cassette) |
| 212 | 211 | { |
| 213 | | zx81_fill_file_name (image_basename_noext(device_list_find_by_tag( Machine->config->devicelist, CASSETTE, "cassette" ))); |
| 212 | /* The filename of the file is used to create the wave stream for the emulated machine. Why is this information not |
| 213 | part of the image file itself? |
| 214 | Hardcoding this to "cassette". |
| 215 | */ |
| 216 | zx81_fill_file_name ("cassette" /*image_basename_noext(device_list_find_by_tag( Machine->config->devicelist, CASSETTE, "cassette" ))*/ ); |
| 214 | 217 | return cassette_legacy_construct(cassette, &zx81_legacy_fill_wave); |
| 215 | 218 | } |
| 216 | 219 | |