mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-18 11:23:38 +00:00
Merge pull request #14474 from Dentomologist/fifoplayer_fix_screenshot_hang_during_playback
FifoPlayer: Fix hang when taking screenshot during FIFO log playback
This commit is contained in:
commit
8ac767e032
@ -274,7 +274,8 @@ std::unique_ptr<FifoDataFile> FifoDataFile::Load(const std::string& filename, bo
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dataFile->m_game_id = std::string{header.gameid, DEFAULT_GAME_ID.size()};
|
const size_t gameid_length = strnlen(header.gameid, DEFAULT_GAME_ID.size());
|
||||||
|
dataFile->m_game_id = std::string{header.gameid, gameid_length};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flagsOnly)
|
if (flagsOnly)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user