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:
MattMenke@gmail.com 2010-02-12 23:07:07 +00:00
parent 7f46f80015
commit 3a725ee6f6
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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)