constants: Extract backup JPEG used by account services

This commit is contained in:
Zach Hilman
2019-06-07 17:46:52 -04:00
parent de33ad25f5
commit 11f2f0f45c
5 changed files with 43 additions and 28 deletions

17
src/core/constants.h Normal file
View File

@ -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