This commit is contained in:
72374 2026-04-02 12:54:57 +00:00 committed by GitHub
commit 3a02edf58e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 55 additions and 1 deletions

View File

@ -384,6 +384,12 @@
<item>@string/internal_resolution_setting_8x</item>
<item>@string/internal_resolution_setting_9x</item>
<item>@string/internal_resolution_setting_10x</item>
<item>@string/internal_resolution_setting_11x</item>
<item>@string/internal_resolution_setting_12x</item>
<item>@string/internal_resolution_setting_13x</item>
<item>@string/internal_resolution_setting_14x</item>
<item>@string/internal_resolution_setting_15x</item>
<item>@string/internal_resolution_setting_16x</item>
</string-array>
<integer-array name="resolutionFactorValues">
<item>0</item>
@ -397,6 +403,12 @@
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</item>
</integer-array>
<string-array name="countries">

View File

@ -294,6 +294,12 @@
<string name="internal_resolution_setting_8x">8x Native (3200x1920)</string>
<string name="internal_resolution_setting_9x">9x Native (3600x2160)</string>
<string name="internal_resolution_setting_10x">10x Native (4000x2400)</string>
<string name="internal_resolution_setting_11x">11x Native (4400x2640)</string>
<string name="internal_resolution_setting_12x">12x Native (4800x2880)</string>
<string name="internal_resolution_setting_13x">13x Native (5200x3120)</string>
<string name="internal_resolution_setting_14x">14x Native (5600x3360)</string>
<string name="internal_resolution_setting_15x">15x Native (6000x3600)</string>
<string name="internal_resolution_setting_16x">16x Native (6400x3840)</string>
<string name="performance_warning">Turning off this setting will significantly reduce emulation performance! For the best experience, it is recommended that you leave this setting enabled.</string>
<string name="debug_warning">Warning: Modifying these settings will slow emulation</string>
<string name="stereoscopy">Stereoscopy</string>

View File

@ -373,6 +373,12 @@ static constexpr retro_core_option_v2_definition option_definitions[] = {
{ "8", "8x (3200x1920)" },
{ "9", "9x (3600x2160)" },
{ "10", "10x (4000x2400)" },
{ "11", "11x (4400x2640)" },
{ "12", "12x (4800x2880)" },
{ "13", "13x (5200x3120)" },
{ "14", "14x (5600x3360)" },
{ "15", "15x (6000x3600)" },
{ "16", "16x (6400x3840)" },
{ nullptr, nullptr }
},
"1"

View File

@ -105,6 +105,36 @@
<string>10x Native (4000x2400)</string>
</property>
</item>
<item>
<property name="text">
<string>11x Native (4400x2640)</string>
</property>
</item>
<item>
<property name="text">
<string>12x Native (4800x2880)</string>
</property>
</item>
<item>
<property name="text">
<string>13x Native (5200x3120)</string>
</property>
</item>
<item>
<property name="text">
<string>14x Native (5600x3360)</string>
</property>
</item>
<item>
<property name="text">
<string>15x Native (6000x3600)</string>
</property>
</item>
<item>
<property name="text">
<string>16x Native (6400x3840)</string>
</property>
</item>
</widget>
</item>
</layout>

View File

@ -529,7 +529,7 @@ struct Values {
SwitchableSetting<bool> use_display_refresh_rate_detection{
true, Keys::use_display_refresh_rate_detection};
Setting<bool> use_shader_jit{true, Keys::use_shader_jit};
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, Keys::resolution_factor};
SwitchableSetting<u32, true> resolution_factor{1, 0, 16, Keys::resolution_factor};
SwitchableSetting<bool> use_integer_scaling{false, Keys::use_integer_scaling};
SwitchableSetting<double, true> frame_limit{100, 0, 1000, Keys::frame_limit};
SwitchableSetting<double, true> turbo_limit{200, 0, 1000, Keys::turbo_limit};