Browse Source
Update src/core/hle/service/am/am.cpp
Co-authored-by: Mat M. <mathew1800@gmail.com>
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/core/hle/service/am/am.cpp
|
|
|
@ -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)); |
|
|
|
} |
|
|
|
|
|
|
|
|