Settings: Remove less-frequently used AR options
You can easily set this via custom ratios, or match window now.
This commit is contained in:
@ -678,10 +678,6 @@ static void RTPS(const s16 V[3], u8 shift, bool lm, bool last)
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(3)) / s64(4)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R16_10:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(5)) / s64(6)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R19_9:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(12)) / s64(19)) + s64(REGS.OFX));
|
||||
break;
|
||||
@ -690,34 +686,6 @@ static void RTPS(const s16 V[3], u8 shift, bool lm, bool last)
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(3)) / s64(5)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R21_9:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(9)) / s64(16)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R32_9:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(3)) / s64(8)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R8_7:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(7)) / s64(6)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R5_4:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(16)) / s64(15)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R3_2:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(8)) / s64(9)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R2_1:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(2)) / s64(3)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R1_1:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(7)) / s64(6)) + s64(REGS.OFX));
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::Custom:
|
||||
case DisplayAspectRatio::MatchWindow:
|
||||
Sx = ((((s64(result) * s64(REGS.IR1)) * s64(s_custom_aspect_ratio_numerator)) /
|
||||
@ -774,12 +742,13 @@ static void RTPS(const s16 V[3], u8 shift, bool lm, bool last)
|
||||
|
||||
switch (s_aspect_ratio)
|
||||
{
|
||||
case DisplayAspectRatio::R16_9:
|
||||
precise_x = (precise_x * 3.0f) / 4.0f;
|
||||
case DisplayAspectRatio::MatchWindow:
|
||||
case DisplayAspectRatio::Custom:
|
||||
precise_x = precise_x * s_custom_aspect_ratio_f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R16_10:
|
||||
precise_x = (precise_x * 5.0f) / 6.0f;
|
||||
case DisplayAspectRatio::R16_9:
|
||||
precise_x = (precise_x * 3.0f) / 4.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R19_9:
|
||||
@ -790,39 +759,6 @@ static void RTPS(const s16 V[3], u8 shift, bool lm, bool last)
|
||||
precise_x = (precise_x * 3.0f) / 5.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R21_9:
|
||||
precise_x = (precise_x * 9.0f) / 16.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R32_9:
|
||||
precise_x = (precise_x * 3.0f) / 8.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R8_7:
|
||||
precise_x = (precise_x * 7.0f) / 6.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R5_4:
|
||||
precise_x = (precise_x * 16.0f) / 15.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R3_2:
|
||||
precise_x = (precise_x * 8.0f) / 9.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R2_1:
|
||||
precise_x = (precise_x * 2.0f) / 3.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::R1_1:
|
||||
precise_x = (precise_x * 7.0f) / 6.0f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::MatchWindow:
|
||||
case DisplayAspectRatio::Custom:
|
||||
precise_x = precise_x * s_custom_aspect_ratio_f;
|
||||
break;
|
||||
|
||||
case DisplayAspectRatio::Auto:
|
||||
case DisplayAspectRatio::R4_3:
|
||||
case DisplayAspectRatio::PAR1_1:
|
||||
|
||||
Reference in New Issue
Block a user