mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-08-17 05:40:40 +08:00
CornerCorrection fix
This commit is contained in:
@ -10,7 +10,7 @@ namespace Strawberry
|
||||
static private bool[] previousKeyboard;
|
||||
static private SDL.SDL_GameController*[] gamepads;
|
||||
|
||||
static public void Init(int gamepadLimit)
|
||||
static private void Init(int gamepadLimit)
|
||||
{
|
||||
keyboard = SDL.GetKeyboardState(null);
|
||||
previousKeyboard = new bool[(int)SDL.Scancode.NUMSCANCODES];
|
||||
@ -20,7 +20,7 @@ namespace Strawberry
|
||||
gamepads[i] = SDL.GameControllerOpen((int32)i);
|
||||
}
|
||||
|
||||
static public void Dispose()
|
||||
static private void Dispose()
|
||||
{
|
||||
delete previousKeyboard;
|
||||
delete gamepads;
|
||||
|
Reference in New Issue
Block a user