summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-02-19 20:11:51 +0000
committerGlenn Rice <glennricster@gmail.com>2011-02-19 20:11:51 +0000
commit22dcfa445541f2ea9776356f3653df2a55446785 (patch)
tree31da06e77a0ae27436f89e5dc0f62d4d88a703c0 /Source/Core
parente57406dbcc77b726a9437fc224c2fa447a73bdef (diff)
Revert alphabetization of game profiles in the video config dialog until I (or someone) has time to do it right.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7203 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/VideoConfigDiag.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
index 46d9516b28..7f76ae9b07 100644
--- a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
@@ -186,16 +186,13 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
szr_basic->Add(profile_cb, 1, 0, 0);
profile_cb->AppendString(_("(Default)"));
- wxArrayString arrayStringFor_GameNames;
for (int index = 0; ; ++index)
{
+ // TODO: Sort these alphabetically
const GameListItem* item = main_frame->GetGameListItem(index);
if (item == NULL) break;
- arrayStringFor_GameNames.Add(wxString(item->GetName(0).c_str(), wxConvUTF8));
+ profile_cb->AppendString(wxString(item->GetName(0).c_str(), wxConvUTF8));
}
- arrayStringFor_GameNames.Sort();
- for (unsigned int index = 0; index < arrayStringFor_GameNames.GetCount(); ++index)
- profile_cb->AppendString(arrayStringFor_GameNames[index]);
profile_cb->Select(cur_profile);
_connect_macro_(profile_cb, VideoConfigDiag::Event_OnProfileChange, wxEVT_COMMAND_CHOICE_SELECTED, this);