Got RAM usage down slightly further by merging in mode code from VARCem;

Fixed the mouse.
This commit is contained in:
OBattler
2018-03-19 08:01:13 +01:00
parent 473fd383d2
commit 7d070e2930
21 changed files with 2321 additions and 1993 deletions

View File

@@ -11,7 +11,7 @@
* TODO: Add the Genius bus- and serial mouse.
* Remove the '3-button' flag from mouse types.
*
* Version: @(#)mouse.c 1.0.24 2018/03/19
* Version: @(#)mouse.c 1.0.25 2018/03/19
*
* Authors: Miran Grca, <mgrca8@gmail.com>
* Fred N. van Kempen, <decwiz@yahoo.com>
@@ -142,7 +142,7 @@ mouse_process(void)
{
static int poll_delay = 2;
if ((mouse_curr != NULL) || (mouse_type == MOUSE_TYPE_INTERNAL))
if ((mouse_curr == NULL) || (mouse_type == MOUSE_TYPE_INTERNAL))
return;
if (--poll_delay) return;