Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 430916822101f3c5f2d509a8983a54c431aad583 Mon Sep 17 00:00:00 2001
- From: gocha <gochaism@gmail.com>
- Date: Mon, 10 Jan 2011 17:06:16 +0900
- Subject: [PATCH 2/3] Fix "Turbo Down mode" of Hotkey Config dialog.
- ---
- win32/wsnes9x.cpp | 5 +----
- 1 files changed, 1 insertions(+), 4 deletions(-)
- diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp
- index 23f1f79..80e5dc4 100644
- --- a/win32/wsnes9x.cpp
- +++ b/win32/wsnes9x.cpp
- @@ -7761,8 +7761,6 @@ static void set_hotkeyinfo(HWND hDlg)
- SendDlgItemMessage(hDlg,IDC_HOTKEY11,WM_USER+44,CustomKeys.JoypadSwap.key,CustomKeys.JoypadSwap.modifiers);
- SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.ResetGame.key,CustomKeys.ResetGame.modifiers);
- SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,CustomKeys.ToggleCheats.key,CustomKeys.ToggleCheats.modifiers);
- -// SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.InterpMode7.key,CustomKeys.InterpMode7.modifiers);
- -// SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,CustomKeys.BGLHack.key,CustomKeys.BGLHack.modifiers);
- break;
- case 2:
- SendDlgItemMessage(hDlg,IDC_HOTKEY1,WM_USER+44,CustomKeys.TurboA.key,CustomKeys.TurboA.modifiers);
- @@ -7777,7 +7775,7 @@ static void set_hotkeyinfo(HWND hDlg)
- SendDlgItemMessage(hDlg,IDC_HOTKEY10,WM_USER+44,CustomKeys.TurboUp.key,CustomKeys.TurboUp.modifiers);
- SendDlgItemMessage(hDlg,IDC_HOTKEY11,WM_USER+44,CustomKeys.TurboRight.key,CustomKeys.TurboRight.modifiers);
- SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,CustomKeys.TurboDown.key,CustomKeys.TurboDown.modifiers);
- - SendDlgItemMessage(hDlg,IDC_HOTKEY12,WM_USER+44,0,0);
- + SendDlgItemMessage(hDlg,IDC_HOTKEY13,WM_USER+44,0,0);
- break;
- case 3:
- for(int i = 0 ; i < 10 ; i++)
- @@ -7838,7 +7836,6 @@ static void set_hotkeyinfo(HWND hDlg)
- SetDlgItemText(hDlg,IDC_LABEL_HK6,HOTKEYS_LABEL_3_6);
- SetDlgItemText(hDlg,IDC_LABEL_HK7,HOTKEYS_LABEL_3_7);
- SetDlgItemText(hDlg,IDC_LABEL_HK8,HOTKEYS_LABEL_3_8);
- - SetDlgItemText(hDlg,IDC_LABEL_HK8,HOTKEYS_LABEL_3_8);
- SetDlgItemText(hDlg,IDC_LABEL_HK9,HOTKEYS_LABEL_3_9);
- SetDlgItemText(hDlg,IDC_LABEL_HK10,HOTKEYS_LABEL_3_10);
- SetDlgItemText(hDlg,IDC_LABEL_HK11,HOTKEYS_LABEL_3_11);
- --
- 1.7.3.1.msysgit.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement