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

View file

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