ref: 30ec79e5ed9c1d21e6bc40f139a0555aa0ca0933
parent: 67dfa0a757a9badfa06702618966e701c19479c7
author: allkern <lisandroaalarcon@gmail.com>
date: Sat May 11 08:20:30 EDT 2024
Fix warnings again again
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,6 @@
SOURCES += $(wildcard frontend/*.c)
bin/psxe frontend/main.c:
- ls
mkdir -p bin
gcc $(SOURCES) -o bin/psxe \
--- a/build-win64.ps1
+++ b/build-win64.ps1
@@ -9,6 +9,9 @@
mkdir -Force -Path bin > $null
+Get-ChildItem
+Get-ChildItem psx
+
gcc -I"`"$($PSX_DIR)`"" `
-I"`"$($PSX_DIR)\psx`"" `
-I"`"$($SDL2_DIR)\include`"" `
--- 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;
--- a/frontend/screen.h
+++ b/frontend/screen.h
@@ -8,6 +8,7 @@
#include <string.h>
#include "SDL.h"
+#include "SDL_version.h"
#include "SDL_gamecontroller.h"
typedef struct {
--
⑨