From 0f93aaf6edd9ae46c6a9e729552e91312ccc41ce Mon Sep 17 00:00:00 2001 From: UnavailableDev Date: Wed, 15 Mar 2023 21:26:50 +0100 Subject: updated file fetch --- src/ppusim/sim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ppusim/sim.c') diff --git a/src/ppusim/sim.c b/src/ppusim/sim.c index a5fec45..8b67acc 100644 --- a/src/ppusim/sim.c +++ b/src/ppusim/sim.c @@ -29,7 +29,8 @@ void hh_ppu_init() { } void hh_ppu_load_tilemap() { - char* filename = "../test/bin/tiles.bin"; + //TODO: remove magic file name here + char* filename = "static/tiles.bin"; FILE* fp = fopen(filename,"rb"); if (!fp){ fprintf(stderr,"Error: Failed to load tiles."); -- cgit v1.2.3