mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-08-31 06:51:07 +00:00
settings.cpp
This commit is contained in:
parent
f2753d07ad
commit
b788ff51f1
|
@ -255,6 +255,11 @@ const char* TranslateCategory(Category category) {
|
|||
void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info) {
|
||||
info.downscale = false;
|
||||
switch (setup) {
|
||||
case ResolutionSetup::Res1_4X:
|
||||
info.up_scale = 1;
|
||||
info.down_shift = 2;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res1_2X:
|
||||
info.up_scale = 1;
|
||||
info.down_shift = 1;
|
||||
|
|
Loading…
Reference in a new issue