Fix code relying on initialization order

Allows Debug - LLVM to boot
This commit is contained in:
Silent 2020-01-30 22:03:36 +01:00 committed by Ivan
parent aeebcfe141
commit 9f678cc47a
9 changed files with 25 additions and 17 deletions

View file

@ -21,5 +21,9 @@ namespace rpcs3
// TODO: Make this accessible from cmake and keep in sync with MACOSX_BUNDLE_BUNDLE_VERSION.
// Currently accessible by Windows and Linux build scripts, see implementations when doing MACOSX
const extern utils::version version{ 0, 0, 8, utils::version_type::alpha, 1, RPCS3_GIT_VERSION };
const utils::version& get_version()
{
static constexpr utils::version version{ 0, 0, 8, utils::version_type::alpha, 1, RPCS3_GIT_VERSION };
return version;
}
}