aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-11 09:12:18 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-11 09:12:18 +0100
commitb3720679f4148b8ba874f486de051c7df527e4bb (patch)
treeb4564b48ab44201f7bfbcebeca544e1c4099896c /src
parent33fa63ee205892205d9cd229c363f7c28d99e636 (diff)
parent3c7f8d25c226510bd391c6b61e89e7f732ce3072 (diff)
gitignore update includes .bin files in home dir
Diffstat (limited to 'src')
-rw-r--r--src/.gitignore1
-rw-r--r--src/ppusim/sim.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore
index d8325cf..504b995 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -4,3 +4,4 @@ main.bin
main
main.exe
static/
+*.bin
diff --git a/src/ppusim/sim.c b/src/ppusim/sim.c
index 1fceb82..a759039 100644
--- a/src/ppusim/sim.c
+++ b/src/ppusim/sim.c
@@ -32,6 +32,7 @@ void hh_ppu_load_tilemap() {
char* filename = "tiles.bin";
FILE* fp = fopen(filename,"rb");
if (!fp){
+ printf("File error!");
return;//error
}