diff --git a/Makefile b/Makefile index ab700c1..9280108 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/build-win64.ps1 b/build-win64.ps1 index 64fb903..de3f583 100644 --- a/build-win64.ps1 +++ b/build-win64.ps1 @@ -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`"" ` diff --git a/frontend/screen.c b/frontend/screen.c index a90bd45..5cda8d0 100644 --- a/frontend/screen.c +++ b/frontend/screen.c @@ -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; diff --git a/frontend/screen.h b/frontend/screen.h index 0296cda..af9eff4 100644 --- a/frontend/screen.h +++ b/frontend/screen.h @@ -8,6 +8,7 @@ #include #include "SDL.h" +#include "SDL_version.h" #include "SDL_gamecontroller.h" typedef struct {