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:
mattmenke 2009-09-25 10:20:32 +00:00
parent 3a0ad40159
commit ff60b3b882
1 changed files with 7 additions and 0 deletions

View File

@ -905,6 +905,13 @@ s32 CALLBACK PADopen(void *pDsp) {
}
else {
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;
}
while (GetWindowLong (hWnd, GWL_STYLE) & WS_CHILD)