Merge pull request #348 from raven02/patch-31

Fix 1024x768 resolution not being saved
This commit is contained in:
B1ackDaemon 2014-06-19 00:39:04 +03:00
commit bf6507e9be
1 changed files with 3 additions and 2 deletions

View File

@ -232,8 +232,8 @@ static const CellVideoOutResolution ResolutionTable[] =
{1440, 1080}, //11 - 6
{1280, 1080}, //12 - 7
{960, 1080}, //13 - 8
{960, 540}, //14 - 9
{1024,768}, //15 - 10
{960, 540}, //14 - 9 (Terraria [BLES01938])
{1024,768}, //15 - 10 (Eskiss Homebrew)
};
inline static u32 ResolutionIdToNum(u32 id)
@ -275,6 +275,7 @@ inline static u32 ResolutionNumToId(u32 num)
12,
13,
14,
15,
};
return num <= 10 ? res[num] : 0;