diff options
| author | Tilka <tilkax@gmail.com> | 2020-06-27 18:10:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-27 18:10:08 +0100 |
| commit | 2e8d1dd1dbcca7095e9d842f1df037cbe76868e4 (patch) | |
| tree | cb7710e05bcadf736fdd9922117b6959e81fca89 /Source/Core | |
| parent | b36ab8360ed17bd70ee7e1cec8db7d62a534b626 (diff) | |
| parent | 9eb36afeb04be9f2f6379cdda3b5da4b5e5709b7 (diff) | |
Merge pull request #8889 from JosJuice/movie-frame-update-frequency
Core: Call Movie::FrameUpdate per field, not per line
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/VideoInterface.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/VideoInterface.cpp b/Source/Core/Core/HW/VideoInterface.cpp index b3a53eeb9c..f9f3afc069 100644 --- a/Source/Core/Core/HW/VideoInterface.cpp +++ b/Source/Core/Core/HW/VideoInterface.cpp @@ -820,7 +820,8 @@ void Update(u64 ticks) // Movie's frame counter should be updated before actually rendering the frame, // in case frame counter display is enabled - Movie::FrameUpdate(); + if (s_half_line_count == 0 || s_half_line_count == GetHalfLinesPerEvenField()) + Movie::FrameUpdate(); // If this half-line is at some boundary of the "active video lines" in either field, we either // need to (a) send a request to the GPU thread to actually render the XFB, or (b) increment @@ -843,7 +844,7 @@ void Update(u64 ticks) EndField(); } - // If this half-line is at a field boundary, deal with updating movie state before potentially + // If this half-line is at a field boundary, deal with frame stepping before potentially // dealing with SI polls, but after potentially sending a swap request to the GPU thread if (s_half_line_count == 0 || s_half_line_count == GetHalfLinesPerEvenField()) |
