Update src/core/hle/service/am/am.cpp

Co-authored-by: Mat M. <mathew1800@gmail.com>
This commit is contained in:
bunnei 2020-05-02 23:35:31 -04:00 committed by GitHub
parent 9acd336422
commit c49f51eaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1353,7 +1353,7 @@ void IApplicationFunctions::GetDisplayVersion(Kernel::HLERequestContext& ctx) {
const auto& version = res.first->GetVersionString();
std::copy(version.begin(), version.end(), version_string.begin());
} else {
const u128 default_version = {1, 0};
constexpr u128 default_version = {1, 0};
std::memcpy(version_string.data(), default_version.data(), sizeof(u128));
}