Skip to content

Commit

Permalink
Fix warnings again again
Browse files Browse the repository at this point in the history
  • Loading branch information
allkern committed May 11, 2024
1 parent 67dfa0a commit 30ec79e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ SOURCES += $(wildcard psx/disc/*.c)
SOURCES += $(wildcard frontend/*.c)

bin/psxe frontend/main.c:
ls
mkdir -p bin

gcc $(SOURCES) -o bin/psxe \
Expand Down
3 changes: 3 additions & 0 deletions build-win64.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ $PSX_DIR = "."

mkdir -Force -Path bin > $null

Get-ChildItem
Get-ChildItem psx

gcc -I"`"$($PSX_DIR)`"" `
-I"`"$($PSX_DIR)\psx`"" `
-I"`"$($SDL2_DIR)\include`"" `
Expand Down
2 changes: 0 additions & 2 deletions frontend/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#include "input/sda.h"

#include "SDL2/SDL_version.h"

uint32_t screen_get_button(SDL_Keycode k) {
if (k == SDLK_x ) return PSXI_SW_SDA_CROSS;
if (k == SDLK_a ) return PSXI_SW_SDA_SQUARE;
Expand Down
1 change: 1 addition & 0 deletions frontend/screen.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <string.h>

#include "SDL.h"
#include "SDL_version.h"
#include "SDL_gamecontroller.h"

typedef struct {
Expand Down

0 comments on commit 30ec79e

Please sign in to comment.