aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim/sim.c
diff options
context:
space:
mode:
authorUnavailableDev <69792062+UnavailableDev@users.noreply.github.com>2023-03-22 10:42:34 +0100
committerGitHub <noreply@github.com>2023-03-22 10:42:34 +0100
commit7f51cd925883bbf958baa289d4d19231667c9eba (patch)
tree21800c4233b3be015cb9aa1f1448b2ab4db4c832 /src/ppusim/sim.c
parente43428eef0d96839cd9a5b2d25e31c90555cfb6c (diff)
parent49112a1999c008fb6fa6c9c368eb2be0d92d15dc (diff)
Merge pull request #44 from UnavailableDev/game-engine
Game engine
Diffstat (limited to 'src/ppusim/sim.c')
-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.");