mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-09-11 18:15:24 -05:00
Add mode to force 50:50 ratio in fullscreen mode
This commit is contained in:
@@ -376,6 +376,12 @@ void WindowScreen::rotation_change(int &value, bool right) {
|
||||
this->future_operations.call_rotate = true;
|
||||
}
|
||||
|
||||
void WindowScreen::force_same_scaling_change() {
|
||||
this->m_info.force_same_scaling = !this->m_info.force_same_scaling;
|
||||
this->prepare_size_ratios(true, true, false);
|
||||
this->future_operations.call_screen_settings_update = true;
|
||||
}
|
||||
|
||||
void WindowScreen::ratio_change(bool top_priority, bool cycle) {
|
||||
this->prepare_size_ratios(top_priority, !top_priority, cycle);
|
||||
this->future_operations.call_screen_settings_update = true;
|
||||
@@ -1926,6 +1932,9 @@ void WindowScreen::poll(bool do_everything) {
|
||||
case SCALING_RATIO_MENU_ALGO_INC:
|
||||
this->non_int_mode_change(true);
|
||||
break;
|
||||
case SCALING_RATIO_MENU_FORCE_SAME_SCALING:
|
||||
this->force_same_scaling_change();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user