diff options
| author | Dentomologist <dentomologist@gmail.com> | 2026-03-16 00:49:38 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2026-03-16 00:49:38 -0700 |
| commit | 3e7ba692056c2b9d0afbcb7e6e9ff6c80865c87a (patch) | |
| tree | 33140f1c7be03cc2b6575f6f7ab22d6049a0fc67 /Source/Core/Common/HttpRequest.cpp | |
| parent | 66db206e34fc55f55e3bb035751953dfd3976ca9 (diff) | |
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.
Diffstat (limited to 'Source/Core/Common/HttpRequest.cpp')
0 files changed, 0 insertions, 0 deletions
