| 737 | } |
| 738 | |
| 739 | virtual SMCResult ReadSMC_KeyValue(const SMCStates *states, const char *key, const char *value) |
| 740 | { |
| 741 | if (ignoreLevel || state != MSTATE_FILE) |
| 742 | { |
| 743 | return SMCResult_Continue; |
| 744 | } |
| 745 | |
| 746 | if (strcmp(key, "engine") == 0) |
| 747 | { |
| 748 | had_engine = true; |
| 749 | if (DoesEngineMatch(value)) |
| 750 | { |
| 751 | matched_engine = true; |
| 752 | } |
| 753 | } |
| 754 | else if (strcmp(key, "game") == 0) |
| 755 | { |
| 756 | had_game = true; |
| 757 | if (DoesGameMatch(value)) |
| 758 | { |
| 759 | matched_game = true; |
| 760 | } |
| 761 | } |
| 762 | |
| 763 | return SMCResult_Continue; |
| 764 | } |
| 765 | |
| 766 | virtual SMCResult ReadSMC_LeavingSection(const SMCStates *states) |
| 767 | { |
nothing calls this directly
no test coverage detected