Merge pull request #9047 from german77/steam-aspect
yuzu: Add 16:10 aspect ratio
This commit is contained in:
commit
3da4280e81
|
@ -67,6 +67,8 @@ float EmulationAspectRatio(AspectRatio aspect, float window_aspect_ratio) {
|
||||||
return 3.0f / 4.0f;
|
return 3.0f / 4.0f;
|
||||||
case AspectRatio::R21_9:
|
case AspectRatio::R21_9:
|
||||||
return 9.0f / 21.0f;
|
return 9.0f / 21.0f;
|
||||||
|
case AspectRatio::R16_10:
|
||||||
|
return 10.0f / 16.0f;
|
||||||
case AspectRatio::StretchToWindow:
|
case AspectRatio::StretchToWindow:
|
||||||
return window_aspect_ratio;
|
return window_aspect_ratio;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -27,6 +27,7 @@ enum class AspectRatio {
|
||||||
Default,
|
Default,
|
||||||
R4_3,
|
R4_3,
|
||||||
R21_9,
|
R21_9,
|
||||||
|
R16_10,
|
||||||
StretchToWindow,
|
StretchToWindow,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -299,6 +299,11 @@
|
||||||
<string>Force 21:9</string>
|
<string>Force 21:9</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Force 16:10</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Stretch to Window</string>
|
<string>Stretch to Window</string>
|
||||||
|
|
Loading…
Reference in New Issue