From c9706a02960d8e5a890e07cc7cbeec585e950a25 Mon Sep 17 00:00:00 2001 From: Kkidslogin <96443213+TheMowgliMan@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:46:56 -0500 Subject: [PATCH] Increase maximum user-set engine name length to 256 --- src/engine_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine_type.h b/src/engine_type.h index be4416ef7b..d6f4a2c439 100644 --- a/src/engine_type.h +++ b/src/engine_type.h @@ -201,7 +201,7 @@ inline uint64_t PackEngineNameDParam(EngineID engine_id, EngineNameContext conte return engine_id | (static_cast(context) << 32) | (static_cast(extra_data) << 40); } -static const uint MAX_LENGTH_ENGINE_NAME_CHARS = 32; ///< The maximum length of an engine name in characters including '\0' +static const uint MAX_LENGTH_ENGINE_NAME_CHARS = 256; ///< The maximum length of an engine name in characters including '\0' static const EngineID INVALID_ENGINE = 0xFFFF; ///< Constant denoting an invalid engine.