diff --git a/src/xenia/base/string_util.h b/src/xenia/base/string_util.h index c65e3de57..38bb85028 100644 --- a/src/xenia/base/string_util.h +++ b/src/xenia/base/string_util.h @@ -85,7 +85,15 @@ inline std::string to_string(const __m128& value) { #endif template -inline T from_string(const char* value, bool force_hex = false); +inline T from_string(const char* value, bool force_hex = false) { + // Missing implementation for converting type T to string + throw; +} + +template <> +inline bool from_string(const char* value, bool force_hex) { + return std::strcmp(value, "true") == 0 || value[0] == '1'; +} template <> inline int32_t from_string(const char* value, bool force_hex) {