forked from Ports/perfect_dark
port: alternate squished aspect fix
by just changing the actual aspect instead of fucking around with the resolution
This commit is contained in:
1 parent
1aea68b89a
commit
75133acbbd
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -3037,7 +3037,7 @@ f32 player0f0bd358(void)
|
||||
#ifdef PLATFORM_N64
|
||||
return result;
|
||||
#else
|
||||
return result * (videoGetAspect() / (4.0f / 3.0f));
|
||||
return result * (videoGetAspect() / ((f32)SCREEN_WIDTH_LO / (f32)SCREEN_HEIGHT_LO));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -1587,7 +1587,7 @@ MenuDialogHandlerResult ciCharacterProfileMenuDialog(s32 operation, struct menud
|
||||
}
|
||||
|
||||
#ifndef PLATFORM_N64
|
||||
x = (float)x * (4.f / 3.f) / videoGetAspect();
|
||||
x = (float)x * ((f32)SCREEN_WIDTH_LO / (f32)SCREEN_HEIGHT_LO) / videoGetAspect();
|
||||
#endif
|
||||
|
||||
menuConfigureModel(&g_Menus[g_MpPlayerNum].menumodel, x, y, 0, 0, 0, 0, scale,
|
||||
|
||||
Reference in new issue
Block a user