diff --git a/src/Cafe/CafeSystem.cpp b/src/Cafe/CafeSystem.cpp index 95260855..154265b2 100644 --- a/src/Cafe/CafeSystem.cpp +++ b/src/Cafe/CafeSystem.cpp @@ -203,6 +203,11 @@ void InfoLog_TitleLoaded() { uint64 titleId = CafeSystem::GetForegroundTitleId(); cemuLog_log(LogType::Force, "------- Loaded title -------"); +#ifdef RETRO_CORE + // The "Init" line that names the build is written before a libretro + // core's log.txt exists, so a log sent in never said which commit made it. + cemuLog_log(LogType::Force, "Build: {} (libretro)", BUILD_VERSION_WITH_NAME_STRING); +#endif cemuLog_log(LogType::Force, "TitleId: {:08x}-{:08x}", (uint32)(titleId >> 32), (uint32)(titleId & 0xFFFFFFFF)); cemuLog_log(LogType::Force, "TitleVersion: v{}", CafeSystem::GetForegroundTitleVersion()); CafeConsoleRegion region = CafeSystem::GetForegroundTitleRegion(); diff --git a/src/libretro/CemuLibretro.cpp b/src/libretro/CemuLibretro.cpp index 9e5b06da..7c18151f 100644 --- a/src/libretro/CemuLibretro.cpp +++ b/src/libretro/CemuLibretro.cpp @@ -2498,7 +2498,7 @@ RETRO_API void retro_init() // does not exist until the paths below are set up, so a core that dies in // here leaves nothing behind at all - which is exactly what jacklavin saw // when it started crashing at core selection, before any content. - libretro_log(RETRO_LOG_INFO, "retro_init: start\n"); + libretro_log(RETRO_LOG_INFO, "retro_init: start (%s)\n", BUILD_VERSION_WITH_NAME_STRING); LibretroAudioAPI::SetAudioCallback([](const int16_t* data, size_t frames) -> size_t { if (s_audio_submission_allowed && audio_batch_cb && data && frames > 0)