| 814 | } |
| 815 | |
| 816 | int FileMcd_ReIndex(uint port, uint slot, const std::string& filter) |
| 817 | { |
| 818 | const int combinedSlot = FileMcd_ConvertToSlot(port, slot); |
| 819 | |
| 820 | switch (EmuConfig.Mcd[combinedSlot].Type) |
| 821 | { |
| 822 | //case MemoryCardType::File: |
| 823 | // return Mcd::impl.ReIndex( combinedSlot, filter ); |
| 824 | // break; |
| 825 | case MemoryCardType::Folder: |
| 826 | if (!Mcd::implFolder.ReIndex(combinedSlot, true, filter)) |
| 827 | return -1; |
| 828 | break; |
| 829 | default: |
| 830 | return -1; |
| 831 | break; |
| 832 | } |
| 833 | |
| 834 | return combinedSlot; |
| 835 | } |
| 836 | |
| 837 | // -------------------------------------------------------------------------------------- |
| 838 | // Library API Implementations |
no test coverage detected