90% fixes, 10% skel refactoring

This commit is contained in:
eray orçunus
2020-07-24 20:43:51 +03:00
parent 53e7cbbd5a
commit ad6094ca1d
12 changed files with 104 additions and 50 deletions

View File

@@ -2883,8 +2883,13 @@ void _InputShutdownMouse()
SAFE_RELEASE(PSGLOBAL(mouse));
}
BOOL _InputMouseNeedsExclusive(void)
bool _InputMouseNeedsExclusive(void)
{
// FIX: I don't know why R* needed that, but it causes infamous mouse bug on modern systems.
// Probably DirectInput bug, since Acquire() and GetDeviceState() reports everything A-OK.
#ifdef FIX_BUGS
return false;
#endif
RwVideoMode vm;
RwEngineGetVideoModeInfo(&vm, GcurSelVM);