| 446 | |
| 447 | template<typename T> |
| 448 | T Value<T>::GetIfExists(FEXCore::Config::ConfigOption Option, T Default) { |
| 449 | auto Value = FEXCore::Config::GetConv<T>(Option); |
| 450 | if (Value) { |
| 451 | return *Value; |
| 452 | } |
| 453 | |
| 454 | return Default; |
| 455 | } |
| 456 | |
| 457 | template<> |
| 458 | fextl::string Value<fextl::string>::GetIfExists(FEXCore::Config::ConfigOption Option, fextl::string Default) { |