mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-11 13:27:56 -05:00
VideoCore: Add more rescaling option.
This commit is contained in:
committed by
Fernando Sahmkow
parent
d37d10e7a7
commit
e7fc60406e
@ -116,6 +116,11 @@ void UpdateRescalingInfo() {
|
||||
info.down_shift = 1;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res3_4X:
|
||||
info.up_scale = 3;
|
||||
info.down_shift = 2;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res1X:
|
||||
info.up_scale = 1;
|
||||
info.down_shift = 0;
|
||||
@ -132,6 +137,14 @@ void UpdateRescalingInfo() {
|
||||
info.up_scale = 4;
|
||||
info.down_shift = 0;
|
||||
break;
|
||||
case ResolutionSetup::Res5X:
|
||||
info.up_scale = 5;
|
||||
info.down_shift = 0;
|
||||
break;
|
||||
case ResolutionSetup::Res6X:
|
||||
info.up_scale = 6;
|
||||
info.down_shift = 0;
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
info.up_scale = 1;
|
||||
|
Reference in New Issue
Block a user