Fix for auto updater

This commit is contained in:
RipleyTom 2019-10-22 05:12:44 +02:00 committed by Megamouse
parent 9f9ac4b696
commit f8e4079c41

View File

@ -12,7 +12,7 @@ namespace rpcs3
std::pair<std::string, std::string> get_commit_and_hash() std::pair<std::string, std::string> get_commit_and_hash()
{ {
const auto commit_and_hash = fmt::split(RPCS3_GIT_BRANCH, {"-"}); const auto commit_and_hash = fmt::split(RPCS3_GIT_VERSION, {"-"});
if (commit_and_hash.size() != 2) if (commit_and_hash.size() != 2)
return std::make_pair("0", "00000000"); return std::make_pair("0", "00000000");