mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Do not spam "No mouse driver found." in logs
This commit is contained in:
parent
c7046fe06f
commit
ce869730e6
@ -68,7 +68,9 @@ namespace GraphicalUserInterface
|
||||
|
||||
if (unlikely(!FoundMouseDriver))
|
||||
{
|
||||
debug("No mouse driver found.");
|
||||
static int once = 0;
|
||||
if (!once++)
|
||||
debug("No mouse driver found.");
|
||||
Mouse.X = Display->GetBuffer(200)->Width / 2;
|
||||
Mouse.Y = Display->GetBuffer(200)->Height / 2;
|
||||
Mouse.Z = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user