diff options
| author | 2019-10-03 19:06:13 +1000 | |
|---|---|---|
| committer | 2019-10-03 19:06:13 +1000 | |
| commit | 9aac7fbc22d07a50e6d71dc17da2d8c2eba63968 (patch) | |
| tree | 26f9fdb35b1ddaf2fe28d7a4867c69a9e5ad4b35 /src/core/core.cpp | |
| parent | Merge pull request #2937 from DarkLordZach/azure-msvc (diff) | |
| parent | qt: Add service dialog (diff) | |
| download | yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.gz yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.tar.xz yuzu-9aac7fbc22d07a50e6d71dc17da2d8c2eba63968.zip | |
Merge pull request #2539 from DarkLordZach/bcat
bcat: Implement BCAT service and connect to yuzu Boxcat server
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 9 |
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 { | |||
| 339 | 339 | ||
| 340 | std::unique_ptr<Memory::CheatEngine> cheat_engine; | 340 | std::unique_ptr<Memory::CheatEngine> cheat_engine; |
| 341 | std::unique_ptr<Tools::Freezer> memory_freezer; | 341 | std::unique_ptr<Tools::Freezer> memory_freezer; |
| 342 | std::array<u8, 0x20> build_id{}; | ||
| 342 | 343 | ||
| 343 | /// Frontend applets | 344 | /// Frontend applets |
| 344 | Service::AM::Applets::AppletManager applet_manager; | 345 | Service::AM::Applets::AppletManager applet_manager; |
| @@ -640,6 +641,14 @@ bool System::GetExitLock() const { | |||
| 640 | return impl->exit_lock; | 641 | return impl->exit_lock; |
| 641 | } | 642 | } |
| 642 | 643 | ||
| 644 | void System::SetCurrentProcessBuildID(std::array<u8, 32> id) { | ||
| 645 | impl->build_id = id; | ||
| 646 | } | ||
| 647 | |||
| 648 | const std::array<u8, 32>& System::GetCurrentProcessBuildID() const { | ||
| 649 | return impl->build_id; | ||
| 650 | } | ||
| 651 | |||
| 643 | System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { | 652 | System::ResultStatus System::Init(Frontend::EmuWindow& emu_window) { |
| 644 | return impl->Init(*this, emu_window); | 653 | return impl->Init(*this, emu_window); |
| 645 | } | 654 | } |