src/mess/devices/ti99cart.c
| r6390 | r6391 | |
| 2685 | 2685 | |
| 2686 | 2686 | int slot = cartslots->active_slot; |
| 2687 | 2687 | |
| 2688 | /* We don't support this cartridge type in the legacy mode. */ |
| 2689 | if (in_legacy_mode(device)) |
| 2690 | return 0; |
| 2691 | |
| 2688 | 2692 | /* Sanity check. Higher slots are always empty. */ |
| 2689 | 2693 | if (slot >= NUMBER_OF_CARTRIDGE_SLOTS) |
| 2690 | 2694 | return 0; |
| r6390 | r6391 | |
| 2714 | 2718 | |
| 2715 | 2719 | int slot = cartslots->active_slot; |
| 2716 | 2720 | |
| 2721 | /* We don't support this cartridge type in the legacy mode. */ |
| 2722 | if (in_legacy_mode(device)) |
| 2723 | return; |
| 2724 | |
| 2717 | 2725 | /* Sanity check. Higher slots are always empty. */ |
| 2718 | 2726 | if (slot >= NUMBER_OF_CARTRIDGE_SLOTS) |
| 2719 | 2727 | return; |