summaryrefslogtreecommitdiffstats
path: root/src/core/constants.h
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-06-08 00:39:37 +0200
committerGitHub <noreply@github.com>2019-06-08 00:39:37 +0200
commit357ea15a39645213ee52fe8fcf8cd06f7eea208e (patch)
tree3f723cd6b6ba53248d2d35869bd274afde52e18d /src/core/constants.h
parentMerge pull request #2514 from ReinUsesLisp/opengl-compat (diff)
parentconstants: Extract backup JPEG used by account services (diff)
downloadyuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar.gz
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar.bz2
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar.lz
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar.xz
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.tar.zst
yuzu-357ea15a39645213ee52fe8fcf8cd06f7eea208e.zip
Diffstat (limited to 'src/core/constants.h')
-rw-r--r--src/core/constants.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/constants.h b/src/core/constants.h
new file mode 100644
index 000000000..6d0ec022a
--- /dev/null
+++ b/src/core/constants.h
@@ -0,0 +1,17 @@
+// Copyright 2019 yuzu Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "common/common_types.h"
+
+// This is to consolidate system-wide constants that are used by multiple components of yuzu.
+// This is especially to prevent the case of something in frontend duplicating a constexpr array or
+// directly including some service header for the sole purpose of data.
+namespace Core::Constants {
+
+// ACC Service - Blank JPEG used as user icon in absentia of real one.
+extern const std::array<u8, 107> ACCOUNT_BACKUP_JPEG;
+
+} // namespace Core::Constants