| 191 | } |
| 192 | |
| 193 | void SetBasePath(DirBase base, u8string_view path) override |
| 194 | { |
| 195 | _basePath[EnumValue(base)] = path; |
| 196 | |
| 197 | if (base == DirBase::rct2) |
| 198 | { |
| 199 | // This value being empty can be valid on headless. |
| 200 | auto variant = Platform::classifyGamePath(path); |
| 201 | if (variant.has_value()) |
| 202 | _rct2Variant = variant.value(); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | bool IsUsingClassic() const override |
| 207 | { |
no test coverage detected