| 639 | } |
| 640 | |
| 641 | static bool FileMcd_IsAutoEjecting() |
| 642 | { |
| 643 | for (size_t port = 0; port < SIO::PORTS; ++port) |
| 644 | { |
| 645 | for (size_t slot = 0; slot < SIO::SLOTS; ++slot) |
| 646 | { |
| 647 | if (mcds[port][slot].autoEjectTicks > 0) |
| 648 | { |
| 649 | return true; // Auto-eject is active |
| 650 | } |
| 651 | } |
| 652 | } |
| 653 | return false; // No auto-eject active |
| 654 | } |
| 655 | |
| 656 | void FileMcd_Swap() |
| 657 | { |