aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 33fece39f6..be856b90ef 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -326,6 +326,9 @@ struct System::Impl {
LOG_INFO(Core, "Loading {} ({:016X}) ...", name, params.program_id);
+ // Expose program id to dump sites and other global readers.
+ Settings::SetCurrentProgramID(params.program_id);
+
// Track launch time for frontend launches
LaunchTimestampCache::SaveLaunchTimestamp(params.program_id);