Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyall committed Feb 18, 2024
1 parent 24c4569 commit 662c28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ void UIFix()
}

// FMVs
// TODO: This only works because the first element that matches the check at 0x3A0 is the movie playback layer. If movie playback is disabled this will cause the pause screen background to be scaled wrong.
if (*reinterpret_cast<int*>(ctx.rax + 0x3A0) == (int)4278583300 && !bHasFixedFMVs)
{
*reinterpret_cast<short*>(ctx.rax + 0xF0) = (short)1920;
Expand Down

0 comments on commit 662c28c

Please sign in to comment.