summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-05-03 05:35:31 +0200
committerGitHub <noreply@github.com>2020-05-03 05:35:31 +0200
commitc49f51eaf18e76e17385f29215991cc113440ff0 (patch)
treeceb855311b9435d7812d60b50521da90f75462a3 /src/core/hle/service/am/am.cpp
parentam: Properly implement GetDisplayVersion (diff)
downloadyuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.gz
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.bz2
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.lz
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.xz
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.tar.zst
yuzu-c49f51eaf18e76e17385f29215991cc113440ff0.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp2
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) {
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));
}