dolphin/Source/Core/Core/FifoPlayer
Dentomologist 3e7ba69205 FifoPlayer: Fix hang when taking screenshot during FIFO log playback
Don't copy null terminators from the log's `header.gameid` into
`FifoDataFile`'s `m_game_id`.

Doing so would cause an infinite loop in `Core::GenerateScreenshotName`
as the various concatenations and `fmt::format` calls would then
effectively drop all the timestamps and disambiguating arbitrary numbers
since they followed the null terminator in the gameid, and so the
`File::Exists` calls would always return true.

Fixes https://bugs.dolphin-emu.org/issues/14002.
2026-03-16 00:49:38 -07:00
..
FifoDataFile.cpp FifoPlayer: Fix hang when taking screenshot during FIFO log playback 2026-03-16 00:49:38 -07:00
FifoDataFile.h Core: add game id to fifo logs, this makes it easier to test graphical enhancements which use the game id to load 2026-01-19 16:03:19 -06:00
FifoPlayer.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
FifoPlayer.h FifoPlayer: Make functions static 2025-04-28 20:09:14 +02:00
FifoRecorder.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
FifoRecorder.h FifoRecorder: Move instance to System. 2024-01-12 15:06:06 +01:00