Files
FEX-Emu--FEX/FEXCore/include/git_version.h.in
T
crueter 33a01f2773 Core: Use long commit hash instead of abbreviating
Fixes #5230

Basically just stores it as an array of `uint8_t`, and automatically
pads it out to 24 bytes. Hopefully FEX never reaches SHA1 collisions so
this should (TM) never collide.

Note: I have no idea how fmt will handle that format string with an
array of uint8_t.

Signed-off-by: crueter <crueter@eden-emu.dev>
2026-02-26 10:08:41 -05:00

9 lines
207 B
C

// SPDX-License-Identifier: MIT
#pragma once
#include <array>
#include <cstdint>
static constexpr std::array<uint8_t, 20> GIT_HASH = {@GIT_HASH_ARRAY@};
#define GIT_DESCRIBE_STRING "@GIT_DESCRIBE_STRING@"