Log the SDK's 'build_id' under the emblem

This commit is contained in:
Kawe Mazidjatari 2023-06-19 10:58:12 +02:00
parent acb68a559a
commit a68a0c511a
2 changed files with 8 additions and 5 deletions

View File

@ -81,9 +81,12 @@ void SDK_Init()
for (size_t i = 0; i < SDK_ARRAYSIZE(R5R_EMBLEM); i++)
{
std::string svEscaped = StringEscape(R5R_EMBLEM[i]);
spdlog::info("{:s}{:s}{:s}\n", g_svRedF, svEscaped, g_svReset);
spdlog::info("{:s}{:s}{:s}\n", g_svRedF, R5R_EMBLEM[i], g_svReset);
}
// Log the SDK's 'build_id' under the emblem.
spdlog::info("{:s}+------------------------------------------------[{:d}]-+{:s}\n",
g_svRedF, g_SDKDll.m_pNTHeaders->FileHeader.TimeDateStamp, g_svReset);
spdlog::info("\n");
Systems_Init();

View File

@ -9,15 +9,15 @@ __declspec(dllexport) void DummyExport()
// Required for detours.
}
const static std::string R5R_EMBLEM[] =
static const char* const R5R_EMBLEM[] =
{
R"(+-------------------------------------------------------------+)",
R"(| ___ ___ ___ _ _ _ ___ ___ |)",
R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) |_ ) |)",
R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / _ / / |)",
R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)___| |)",
R"(| |)",
R"(+-------------------------------------------------------------+)"
R"(| |)"/*,
R"(+-------------------------------------------------------------+)"*/
};
static bool s_bNoWorkerDll = false;