mirror of https://github.com/PCSX2/pcsx2.git
LilyPad: Fix for testing rumble breaking test button. Jake was the one who broke it, not me. Honest. Should fix issue 531.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2589 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
7f46f80015
commit
3a725ee6f6
|
@ -1533,6 +1533,8 @@ INT_PTR CALLBACK DialogProc(HWND hWnd, unsigned int msg, WPARAM wParam, LPARAM l
|
|||
UnselectAll(hWndList);
|
||||
}
|
||||
else if (cmd == ID_TEST) {
|
||||
// Just in case...
|
||||
if (selected) break;
|
||||
Device *dev;
|
||||
Binding *b;
|
||||
ForceFeedbackBinding *ffb = 0;
|
||||
|
|
|
@ -46,6 +46,9 @@ void WndProcEater::ReleaseExtraProc(ExtraWndProc proc) {
|
|||
void WndProcEater::Release() {
|
||||
while (numExtraProcs) ReleaseExtraProc(extraProcs[0].proc);
|
||||
RemoveProp( hWndEaten, L"LilyHaxxor" );
|
||||
if (hWndEaten && IsWindow(hWndEaten)) {
|
||||
SetWindowLongPtr(hWndEaten, GWLP_WNDPROC, (LONG_PTR)eatenWndProc);
|
||||
}
|
||||
}
|
||||
|
||||
LRESULT WndProcEater::_OverrideWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
|
|
Loading…
Reference in New Issue