multiple fixes, variable typo fixes, adherence to a certain style. Fixed initialization of the new function, defaults to 0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ namespace Ryujinx.Input.SDL2
|
||||
return result;
|
||||
}
|
||||
|
||||
public bool spetialExit()
|
||||
public bool SpecialExit()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Ryujinx.Input.SDL2
|
||||
{
|
||||
_driver = driver;
|
||||
}
|
||||
public bool spetialExit()
|
||||
public bool SpecialExit()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user