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