diff --git a/Makefile b/Makefile index 02c67b5..87fb147 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ # to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/" GBDK_HOME = gbdk -LCC = $(GBDK_HOME)bin/lcc +LCC = $(GBDK_HOME)/bin/lcc # You can set flags for LCC here # For example, you can uncomment the line below to turn on debug output diff --git a/README.md b/README.md index f7a60fa..9129688 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,15 @@ Project directories - src: Main program source files (.c, .h, .s) can go here - res: Program graphics and audio source files (.c, .h, .s) can go here - obj: Compiled ROM (.gb) and debug files go in this directory + + +## macOS security warnings +If you get a security warning on macOS that says ("`... developer cannot be verified, macOS cannot verify that this app is free from malware`"), it does not mean that GBDK is malware. It just means the GBDK toolchain binaries are not signed by Apple, so it won't run them without an additional step. + +You will need to unquarrantine the files in the bin folder in order to run them. This can be fixed using the following steps. + +Open a terminal and navigate to the gbdk bin folder ("bin/" under your GBDK-2020 install folder). Then type: + +``` +xattr -d com.apple.quarantine * +``` \ No newline at end of file diff --git a/res/collision-test/tilemap.c b/res/test-tilemap.c similarity index 100% rename from res/collision-test/tilemap.c rename to res/test-tilemap.c diff --git a/res/collision-test/tilemap.h b/res/test-tilemap.h similarity index 100% rename from res/collision-test/tilemap.h rename to res/test-tilemap.h diff --git a/res/collision-test/tileset.c b/res/test-tileset.c similarity index 100% rename from res/collision-test/tileset.c rename to res/test-tileset.c diff --git a/res/collision-test/tileset.h b/res/test-tileset.h similarity index 100% rename from res/collision-test/tileset.h rename to res/test-tileset.h diff --git a/src/collision.c b/src/collision.c index 88be968..2fc5d24 100644 --- a/src/collision.c +++ b/src/collision.c @@ -3,8 +3,8 @@ #include "../res/underwater_tiles.h" #include "../res/underwater_map.h" -#include "../res/collision-test/tileset.h" -#include "../res/collision-test/tilemap.h" +#include "../res/test-tileset.h" +#include "../res/test-tilemap.h" #define SOLID 1 #define PLAYER_HALF_WIDTH 8 diff --git a/src/main.c b/src/main.c index 8f46044..824c2c1 100644 --- a/src/main.c +++ b/src/main.c @@ -7,8 +7,8 @@ #include "../res/underwater_tiles.h" #include "../res/underwater_map.h" #include "../res/submarine_sprites.h" -#include "../res/collision-test/tileset.h" -#include "../res/collision-test/tilemap.h" +#include "../res/test-tileset.h" +#include "../res/test-tilemap.h" #include "actor.h" // #include "input.h"