aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}