aboutsummaryrefslogtreecommitdiff
path: root/src/core/constants.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-06-07 17:46:52 -0400
committerZach Hilman <zachhilman@gmail.com>2019-06-07 17:46:57 -0400
commit11f2f0f45c09f49366b62ef32ff1f01fd9efb7a5 (patch)
tree3f723cd6b6ba53248d2d35869bd274afde52e18d /src/core/constants.h
parentde33ad25f52960449a97caa2b25e37e6a35f0710 (diff)
constants: Extract backup JPEG used by account services
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 0000000000..6d0ec022a4
--- /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