multiple fixes, variable typo fixes, adherence to a certain style. Fixed initialization of the new function, defaults to 0

This commit is contained in:
Vova
2025-01-08 22:45:33 +10:00
parent 37b4dd2133
commit b6667a8352
22 changed files with 59 additions and 57 deletions

View File

@@ -254,16 +254,16 @@ namespace Ryujinx.Input.SDL2
}
private static bool hotButtonMinus = false;
private static bool HotExit = false;
private static bool hotExit = false;
public bool spetialExit()
public bool SpecialExit()
{
if (hotButtonMinus)
{
hotButtonMinus = false;
return HotExit;
return hotExit;
}
return HotExit = false;
return hotExit = false;
}
public GamepadStateSnapshot GetMappedStateSnapshot()
@@ -299,7 +299,7 @@ namespace Ryujinx.Input.SDL2
if (rawState.IsPressed(entry.To) && hotButtonMinus)
{
HotExit = true;
hotExit = true;
}
}

View File

@@ -329,7 +329,7 @@ namespace Ryujinx.Input.SDL2
return result;
}
public bool spetialExit()
public bool SpecialExit()
{
return false;
}

View File

@@ -25,7 +25,7 @@ namespace Ryujinx.Input.SDL2
{
_driver = driver;
}
public bool spetialExit()
public bool SpecialExit()
{
return false;
}