Advertisement
Guest User

snes9xgit: [gocha] Fix "Turbo Down mode" of Hotkey Config dialog.

a guest
Jan 10th, 2011
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.19 KB | None | 0 0
  1. From 430916822101f3c5f2d509a8983a54c431aad583 Mon Sep 17 00:00:00 2001
  2. From: gocha <gochaism@gmail.com>
  3. Date: Mon, 10 Jan 2011 17:06:16 +0900
  4. Subject: [PATCH 2/3] Fix "Turbo Down mode" of Hotkey Config dialog.
  5.  
  6. ---
  7. win32/wsnes9x.cpp |    5 +----
  8.  1 files changed, 1 insertions(+), 4 deletions(-)
  9.  
  10. diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp
  11. index 23f1f79..80e5dc4 100644
  12. --- a/win32/wsnes9x.cpp
  13. +++ b/win32/wsnes9x.cpp
  14. @@ -7761,8 +7761,6 @@ static void set_hotkeyinfo(HWND hDlg)
  15.         SendDlgItemMessage(hDlg,IDC_HOTKEY11,WM_USER+44,CustomKeys.JoypadSwap.key,CustomKeys.JoypadSwap.modifiers);
  16.         SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.ResetGame.key,CustomKeys.ResetGame.modifiers);
  17.         SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,CustomKeys.ToggleCheats.key,CustomKeys.ToggleCheats.modifiers);
  18. -//     SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.InterpMode7.key,CustomKeys.InterpMode7.modifiers);
  19. -//     SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,CustomKeys.BGLHack.key,CustomKeys.BGLHack.modifiers);
  20.         break;
  21.     case 2:
  22.         SendDlgItemMessage(hDlg,IDC_HOTKEY1,WM_USER+44,CustomKeys.TurboA.key,CustomKeys.TurboA.modifiers);
  23. @@ -7777,7 +7775,7 @@ static void set_hotkeyinfo(HWND hDlg)
  24.         SendDlgItemMessage(hDlg,IDC_HOTKEY10,WM_USER+44,CustomKeys.TurboUp.key,CustomKeys.TurboUp.modifiers);
  25.         SendDlgItemMessage(hDlg,IDC_HOTKEY11,WM_USER+44,CustomKeys.TurboRight.key,CustomKeys.TurboRight.modifiers);
  26.         SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.TurboDown.key,CustomKeys.TurboDown.modifiers);
  27. -       SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,0,0);
  28. +       SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,0,0);
  29.         break;
  30.     case 3:
  31.         for(int i = 0 ; i < 10 ; i++)
  32. @@ -7838,7 +7836,6 @@ static void set_hotkeyinfo(HWND hDlg)
  33.         SetDlgItemText(hDlg,IDC_LABEL_HK6,HOTKEYS_LABEL_3_6);
  34.         SetDlgItemText(hDlg,IDC_LABEL_HK7,HOTKEYS_LABEL_3_7);
  35.         SetDlgItemText(hDlg,IDC_LABEL_HK8,HOTKEYS_LABEL_3_8);
  36. -       SetDlgItemText(hDlg,IDC_LABEL_HK8,HOTKEYS_LABEL_3_8);
  37.         SetDlgItemText(hDlg,IDC_LABEL_HK9,HOTKEYS_LABEL_3_9);
  38.         SetDlgItemText(hDlg,IDC_LABEL_HK10,HOTKEYS_LABEL_3_10);
  39.         SetDlgItemText(hDlg,IDC_LABEL_HK11,HOTKEYS_LABEL_3_11);
  40. --
  41. 1.7.3.1.msysgit.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement