aboutsummaryrefslogtreecommitdiff
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
parent33fa63ee205892205d9cd229c363f7c28d99e636 (diff)
parent3c7f8d25c226510bd391c6b61e89e7f732ce3072 (diff)
gitignore update includes .bin files in home dir
-rw-r--r--.vscode/tasks.json2
-rw-r--r--src/.gitignore1
-rw-r--r--src/ppusim/sim.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 53a235e..8404cfa 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -54,7 +54,7 @@
"args": [ "" ],
},
"command": "make",
- "args": [ "compile_commands" ],
+ "args": [ "compile_commands.json" ],
"type": "shell"
},
{
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
}