1
0
mirror of synced 2025-02-24 06:03:21 +01:00

Fix ration/ratio typo.

This commit is contained in:
Rolel 2024-12-30 00:55:52 +01:00
parent 3453b074eb
commit 705cac82df

View File

@ -2209,7 +2209,7 @@ int initResolutionPatches()
break; break;
case 3: // 3ds Mode 1 (Small screen to the right) case 3: // 3ds Mode 1 (Small screen to the right)
{ {
// We always force 4:3 aspect ration for this mode. // We always force 4:3 aspect ratio for this mode.
phX = 0; phX = 0;
phW = (getConfig()->height / 3) * 4; phW = (getConfig()->height / 3) * 4;
phH2 = ((getConfig()->width - phW) / 4) * 3; phH2 = ((getConfig()->width - phW) / 4) * 3;
@ -2221,7 +2221,7 @@ int initResolutionPatches()
break; break;
case 4: case 4:
{ {
// We always force 4:3 aspect ration for this mode. // We always force 4:3 aspect ratio for this mode.
phW = (getConfig()->height / 3) * 4; phW = (getConfig()->height / 3) * 4;
phX2 = (getConfig()->width / 2) - ((getConfig()->width - phW) / 2); phX2 = (getConfig()->width / 2) - ((getConfig()->width - phW) / 2);
phW2 = getConfig()->width - phW; phW2 = getConfig()->width - phW;