diff options
| author | 2020-05-02 23:35:31 -0400 | |
|---|---|---|
| committer | 2020-05-02 23:35:31 -0400 | |
| commit | c49f51eaf18e76e17385f29215991cc113440ff0 (patch) | |
| tree | ceb855311b9435d7812d60b50521da90f75462a3 | |
| parent | am: Properly implement GetDisplayVersion (diff) | |
| download | yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.gz yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.xz yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.zip | |
Update src/core/hle/service/am/am.cpp
Co-authored-by: Mat M. <mathew1800@gmail.com>
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 276a3fc0c..9522f8c4b 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -1353,7 +1353,7 @@ void IApplicationFunctions::GetDisplayVersion(Kernel::HLERequestContext& ctx) { | |||
| 1353 | const auto& version = res.first->GetVersionString(); | 1353 | const auto& version = res.first->GetVersionString(); |
| 1354 | std::copy(version.begin(), version.end(), version_string.begin()); | 1354 | std::copy(version.begin(), version.end(), version_string.begin()); |
| 1355 | } else { | 1355 | } else { |
| 1356 | const u128 default_version = {1, 0}; | 1356 | constexpr u128 default_version = {1, 0}; |
| 1357 | std::memcpy(version_string.data(), default_version.data(), sizeof(u128)); | 1357 | std::memcpy(version_string.data(), default_version.data(), sizeof(u128)); |
| 1358 | } | 1358 | } |
| 1359 | 1359 | ||