aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-15 21:26:50 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-15 21:26:50 +0100
commit0f93aaf6edd9ae46c6a9e729552e91312ccc41ce (patch)
tree688c3e781efd3e5a7f57085b064d09e0752752bf
parent623bcb03aead264b412bcba9fed75df22e115fab (diff)
updated file fetch
-rw-r--r--src/ppusim/sim.c3
1 files changed, 2 insertions, 1 deletions
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.");