diff options
author | B3n30 <bene_thomas@web.de> | 2017-08-19 19:14:33 +0200 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2017-08-19 19:14:33 +0200 |
commit | 5d0a1e7efddf234234d54fe97395f6975f8d1a28 (patch) | |
tree | cef0c9114f39af64c2971509fb2d0197c73cc155 /src/core/loader | |
parent | Merge pull request #2881 from MerryMage/dsp-firm-check (diff) | |
download | yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar.gz yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar.bz2 yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar.lz yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar.xz yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.tar.zst yuzu-5d0a1e7efddf234234d54fe97395f6975f8d1a28.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/ncch.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp index c007069a9..7aff7f29b 100644 --- a/src/core/loader/ncch.cpp +++ b/src/core/loader/ncch.cpp @@ -20,6 +20,7 @@ #include "core/loader/ncch.h" #include "core/loader/smdh.h" #include "core/memory.h" +#include "network/network.h" //////////////////////////////////////////////////////////////////////////////////////////////////// // Loader namespace @@ -350,6 +351,13 @@ ResultStatus AppLoader_NCCH::Load() { Core::Telemetry().AddField(Telemetry::FieldType::Session, "ProgramId", program_id); + if (auto room_member = Network::GetRoomMember().lock()) { + Network::GameInfo game_info; + ReadTitle(game_info.name); + game_info.id = ncch_header.program_id; + room_member->SendGameInfo(game_info); + } + is_loaded = true; // Set state to loaded result = LoadExec(); // Load the executable into memory for booting |