src/mess/osd/windows/menu.c
| r3252 | r3253 | |
| 1388 | 1388 | append_menu_uistring(sub_menu, flags_for_exists, new_item + DEVOPTION_CLOSE, UI_unmount); |
| 1389 | 1389 | |
| 1390 | 1390 | #if HAS_WAVE |
| 1391 | | if ((info.type == IO_CASSETTE) && !strcmp(info.file_extensions, "wav")) |
| 1391 | if ((img->type == CASSETTE) && !strcmp(info.file_extensions, "wav")) |
| 1392 | 1392 | { |
| 1393 | 1393 | cassette_state state; |
| 1394 | 1394 | state = image_exists(img) ? (cassette_get_state(img) & CASSETTE_MASK_UISTATE) : CASSETTE_STOPPED; |
| r3252 | r3253 | |
| 1505 | 1505 | break; |
| 1506 | 1506 | |
| 1507 | 1507 | default: |
| 1508 | | switch(image_devtype(img)) |
| 1509 | | { |
| 1510 | 1508 | #if HAS_WAVE |
| 1511 | | case IO_CASSETTE: |
| 1512 | | switch(devoption) { |
| 1509 | if (img->type == CASSETTE) |
| 1510 | { |
| 1511 | switch(devoption) |
| 1512 | { |
| 1513 | 1513 | case DEVOPTION_CASSETTE_STOPPAUSE: |
| 1514 | 1514 | cassette_change_state(img, CASSETTE_STOPPED, CASSETTE_MASK_UISTATE); |
| 1515 | 1515 | break; |
| r3252 | r3253 | |
| 1530 | 1530 | cassette_seek(img, +1.0, SEEK_CUR); |
| 1531 | 1531 | break; |
| 1532 | 1532 | } |
| 1533 | | break; |
| 1533 | } |
| 1534 | 1534 | #endif /* HAS_WAVE */ |
| 1535 | | |
| 1536 | | default: |
| 1537 | | break; |
| 1538 | | } |
| 1535 | break; |
| 1539 | 1536 | } |
| 1540 | 1537 | } |
| 1541 | 1538 | |