Merge pull request #8522 from stenzek/fifoci-ffmpeg

FrameDump: Set first_frame if movie frame number <= 1
This commit is contained in:
Connor McLaughlin 2019-12-22 12:11:03 +10:00 committed by GitHub
commit 8a50d9c540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -443,7 +443,7 @@ FrameDump::Frame FrameDump::FetchState(u64 ticks)
{ {
Frame state; Frame state;
state.ticks = ticks; state.ticks = ticks;
state.first_frame = Movie::GetCurrentFrame() < 1; state.first_frame = Movie::GetCurrentFrame() <= 1;
state.ticks_per_second = SystemTimers::GetTicksPerSecond(); state.ticks_per_second = SystemTimers::GetTicksPerSecond();
state.savestate_index = s_savestate_index; state.savestate_index = s_savestate_index;
return state; return state;