update extAspectRatio for RT64 change + option rename

This commit is contained in:
thecozies 2024-04-01 12:32:47 -05:00
parent bb11e81850
commit ad32fcbe78
2 changed files with 5 additions and 5 deletions

View File

@ -240,7 +240,7 @@
id="hr_original"
style="nav-up: #msaa_none; nav-down: #apply_button"
/>
<label class="config-option__tab-label" for="hr_original">None</label>
<label class="config-option__tab-label" for="hr_original">Original</label>
<input type="radio"
data-event-blur="set_current_gfx_description(-1)"
data-event-focus="set_current_gfx_description(6)"

View File

@ -260,14 +260,14 @@ void RT64UpdateConfig(RT64::Application* application, const ultramodern::Graphic
switch (new_config.hr_option) {
default:
case ultramodern::HUDRatioMode::Original:
application->userConfig.extAspectPercentage = 0.0f;
application->userConfig.extAspectRatio = RT64::UserConfiguration::AspectRatio::Original;
break;
case ultramodern::HUDRatioMode::Clamp16x9:
// TODO: Not this lol!!!
application->userConfig.extAspectPercentage = 0.5f;
application->userConfig.extAspectRatio = RT64::UserConfiguration::AspectRatio::Manual;
application->userConfig.extAspectTarget = 16.0/9.0;
break;
case ultramodern::HUDRatioMode::Full:
application->userConfig.extAspectPercentage = 1.0f;
application->userConfig.extAspectRatio = RT64::UserConfiguration::AspectRatio::Expand;
break;
}