diff --git a/main_sdl.c b/main_sdl.c index b4a1d80..aaadf3a 100644 --- a/main_sdl.c +++ b/main_sdl.c @@ -245,7 +245,7 @@ int8_t SFG_keyPressed(uint8_t key) checkMouse(<) #undef checkMouse - + return 0; break; @@ -253,6 +253,8 @@ int8_t SFG_keyPressed(uint8_t key) default: return 0; break; } + + #undef k } int running; diff --git a/make.sh b/make.sh index be1a6b6..229e912 100755 --- a/make.sh +++ b/make.sh @@ -39,7 +39,7 @@ if [ $1 == "sdl" ]; then echo ${COMMAND} - ${COMMAND} && ./anarch + ${COMMAND} && ./anarch -w elif [ $1 == "terminal" ]; then # PC terminal build, requires: # - g++