| 86 | } |
| 87 | |
| 88 | void AutoEject::Set(size_t port, size_t slot) |
| 89 | { |
| 90 | if (mcds[port][slot].autoEjectTicks == 0) |
| 91 | { |
| 92 | mcds[port][slot].autoEjectTicks = 60; // 60 frames is enough. |
| 93 | mcds[port][slot].term = Terminator::NOT_READY; // Reset terminator to NOT_READY (0x66), forces the PS2 to recheck the memcard. |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | void AutoEject::Clear(size_t port, size_t slot) |
| 98 | { |
no outgoing calls
no test coverage detected