LilyPad: Fixed "Swap with Pad 1"

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@914 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
mattmenke 2009-04-05 18:37:06 +00:00
parent 4d8769ecc5
commit 014b5c6671
1 changed files with 2 additions and 1 deletions

View File

@ -1867,7 +1867,7 @@ INT_PTR CALLBACK GeneralDialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, L
InsertMenuItemW(hMenu, index, 1, &info);
}
else {
info.wID = port2+2*slot2;
info.wID = port2+2*slot2+1;
wsprintfW(text, L"Swap with %s", pad);
InsertMenuItemW(hMenu, 0, 1, &info);
}
@ -1879,6 +1879,7 @@ INT_PTR CALLBACK GeneralDialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, L
DestroyMenu(hMenu);
if (!res) break;
if (res > 0) {
res--;
slot2 = res / 2;
port2 = res&1;
PadConfig padCfgTemp = config.padConfigs[port1][slot1];