summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-10-03 11:06:13 +0200
committerGitHub <noreply@github.com>2019-10-03 11:06:13 +0200
commit9aac7fbc22d07a50e6d71dc17da2d8c2eba63968 (patch)
tree26f9fdb35b1ddaf2fe28d7a4867c69a9e5ad4b35 /src/core/core.cpp
parentMerge pull request #2937 from DarkLordZach/azure-msvc (diff)
parentqt: Add service dialog (diff)
downloadyuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.gz
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.bz2
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.lz
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.xz
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.zst
yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 92ba42fb9..75a7ffb97 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -339,6 +339,7 @@ struct System::Impl {
std::unique_ptr<Memory::CheatEngine> cheat_engine;
std::unique_ptr<Tools::Freezer> memory_freezer;
+ std::array<u8, 0x20> build_id{};
/// Frontend applets
Service::AM::Applets::AppletManager applet_manager;
@@ -640,6 +641,14 @@ bool System::GetExitLock() const {
return impl->exit_lock;
}
+void System::SetCurrentProcessBuildID(std::array<u8, 32> id) {
+ impl->build_id = id;
+}
+
+const std::array<u8, 32>& System::GetCurrentProcessBuildID() const {
+ return impl->build_id;
+}
+
System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) {
return impl->Init(*this, emu_window);
}