fixed gcc build warnings
This commit is contained in:
parent
e4c68c8b17
commit
29643e060b
2 changed files with 3 additions and 2 deletions
|
@ -15,7 +15,7 @@ Byte pollInput(struct Controller* controller)
|
|||
|
||||
void fillRegister(struct Controller* controller)
|
||||
{
|
||||
Byte* keyboard = SDL_GetKeyboardState(NULL);
|
||||
const Byte* keyboard = SDL_GetKeyboardState(NULL);
|
||||
|
||||
controller->data.A = keyboard[SDL_SCANCODE_A];
|
||||
controller->data.B = keyboard[SDL_SCANCODE_S];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue