summaryrefslogtreecommitdiff
path: root/src/core/constants.h
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-06-07 18:39:37 -0400
committerGitHub <noreply@github.com>2019-06-07 18:39:37 -0400
commit357ea15a39645213ee52fe8fcf8cd06f7eea208e (patch)
tree3f723cd6b6ba53248d2d35869bd274afde52e18d /src/core/constants.h
parentde33ad25f52960449a97caa2b25e37e6a35f0710 (diff)
parent11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5 (diff)
Merge pull request #2293 from DarkLordZach/system-constants
core: Remove duplicated account JPEG data structure
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