summaryrefslogtreecommitdiffstats
path: root/src/core/constants.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-07 23:46:52 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-07 23:46:57 +0200
commit11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5 (patch)
tree3f723cd6b6ba53248d2d35869bd274afde52e18d /src/core/constants.h
parentMerge pull request #2514 from ReinUsesLisp/opengl-compat (diff)
downloadyuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar.gz
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar.bz2
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar.lz
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar.xz
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.tar.zst
yuzu-11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5.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