Ensure WM_PAINT is handled correctly
Otherwise, Windows will send WM_PAINT messages non-stop and burn CPU doing nothing This fixes an odd behaviour where moving the mouse over the window could increase FPS
This commit is contained in:
parent
ae43ded58b
commit
20549fec19
|
@ -1824,6 +1824,10 @@ static LRESULT WINAPI EmuMsgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPar
|
|||
{
|
||||
DrawUEM(hWnd);
|
||||
}
|
||||
else
|
||||
{
|
||||
DefWindowProc(hWnd, msg, wParam, lParam);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue