mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-21 12:29:43 -10:00
Construct log tags with a bounded copy instead of a separate snprintf pass for every emitted line. Snapshot the tag before formatting the body so printf side effects retain their existing behavior. Preserve long-line allocation, failure fallback and immediate flushing. Include the event-count implementation in the log-ring harness so its Win32 VFS dependency links.