mirror of https://github.com/PCSX2/pcsx2.git
LilyPad: Give "credit" where credit is due...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1915 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3a0ad40159
commit
ff60b3b882
|
@ -905,6 +905,13 @@ s32 CALLBACK PADopen(void *pDsp) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
openCount = 0;
|
openCount = 0;
|
||||||
|
MessageBoxA(0,
|
||||||
|
"Invalid Window handle passed to LilyPad.\n"
|
||||||
|
"\n"
|
||||||
|
"Either your emulator or gs plugin is buggy,\n"
|
||||||
|
"Despite the fact the emulator is about to\n"
|
||||||
|
"blame LilyPad for failing to initialize.",
|
||||||
|
"Non-LilyPad Error", MB_OK | MB_ICONERROR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
while (GetWindowLong (hWnd, GWL_STYLE) & WS_CHILD)
|
while (GetWindowLong (hWnd, GWL_STYLE) & WS_CHILD)
|
||||||
|
|
Loading…
Reference in New Issue