From 635f67120132f840c825b9f9b5f4fdf2a6f250ef Mon Sep 17 00:00:00 2001 From: UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:42:33 +0100 Subject: removed TODO --- test/bin/test_file_read.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'test/bin/test_file_read.c') diff --git a/test/bin/test_file_read.c b/test/bin/test_file_read.c index 6357feb..e9ece4d 100644 --- a/test/bin/test_file_read.c +++ b/test/bin/test_file_read.c @@ -16,8 +16,6 @@ void printData(uint8_t* in) { } void hh_ppu_load_tilemap() { - - //TODO: lees bestand in mem char* filename = "tiles.bin"; FILE* fp = fopen(filename,"rb"); if (!fp){ -- cgit v1.2.3 From 877ac831461f35d00e0e0ab7d6afbe93768fc7c6 Mon Sep 17 00:00:00 2001 From: UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:42:59 +0100 Subject: Update test_file_read.c --- test/bin/test_file_read.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/bin/test_file_read.c') diff --git a/test/bin/test_file_read.c b/test/bin/test_file_read.c index e9ece4d..b3357ce 100644 --- a/test/bin/test_file_read.c +++ b/test/bin/test_file_read.c @@ -28,10 +28,7 @@ void hh_ppu_load_tilemap() { // printf("%i",_size); for (int i = 0; i < _size; i++) { uint8_t data[HH_PPU_VRAM_TMM_SPRITE_SIZE]; - // for (int i = 0; i < 255; i++) { - // buffer[i] = 0; //TODO: vullen - fread(data,HH_PPU_VRAM_TMM_SPRITE_SIZE,1,fp); - // } + fread(data,HH_PPU_VRAM_TMM_SPRITE_SIZE,1,fp); printData(data); } -- cgit v1.2.3