Skip to content

Commit

Permalink
Remove cut-in/wipe fix as it stretches other parts of the UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyall committed Oct 19, 2024
1 parent 95e76e5 commit 4413d1b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,20 +735,6 @@ void HUD()
}
}
}

// Cut-ins and wipes
if (sAPKName == "mask" || sAPKName == "common_wipe") {
if (!sElementName.contains("command_result")) { // Battle result screen gets stretched
if (ctx.xmm14.f32[0] == 1920.00f && ctx.xmm3.f32[0] == 1080.00f) {
if (fAspectRatio > fNativeAspect) {
ctx.xmm6.f32[0] *= fAspectMultiplier;
}
else if (fAspectRatio < fNativeAspect) {
ctx.xmm5.f32[0] /= fAspectMultiplier;
}
}
}
}
}
});
}
Expand Down

0 comments on commit 4413d1b

Please sign in to comment.