Fixed new GCPad/Wiimote plugin IniFile code to handle saving/loading of values with leading/trailing whitespace. Was causing issues with gamepads that had trailing whitespace in their names. Also, reordered drum pad colors in the GUI to match their physical layout.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5404 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-04-24 20:09:01 +00:00
parent 23689387e1
commit 8d5c9f30ad
2 changed files with 18 additions and 4 deletions

View File

@ -20,16 +20,16 @@ static const u8 drums_id[] = { 0x01, 0x00, 0xa4, 0x20, 0x01, 0x03 };
const u16 drum_pad_bitmasks[] =
{
DRUMS_RED,
DRUMS_YELLOW,
DRUMS_BLUE,
DRUMS_GREEN,
DRUMS_YELLOW,
DRUMS_ORANGE,
DRUMS_BASS,
};
const char* drum_pad_names[] =
{
"Red","Blue","Green","Yellow","Orange","Bass"
"Red","Yellow","Blue","Green","Orange","Bass"
};
const u16 drum_button_bitmasks[] =