port: use correct aspect instead of 4:3 when scaling crosshair

This commit is contained in:
fgsfds committed 2023-12-07 16:46:32 +01:00
1 parent aeb6851606
commit 03324c0823
1 file changed
+1 -1
+1 -1
View File
@@ -25,7 +25,7 @@
static inline f32 sightGetScaleX(void)
{
return (videoGetAspect() / (4.f / 3.f));
return (videoGetAspect() / SCREEN_ASPECT);
}
static inline s32 sightGetAdjustedX(const f32 x)