From d5ae547334b5f8229313182705da42c5e904a633 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Tue, 5 Mar 2024 22:18:45 +1100 Subject: loads and runs now (no visuals yet) --- src/platform/file.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/platform/file.c') diff --git a/src/platform/file.c b/src/platform/file.c index 4eeee46..ec9259a 100644 --- a/src/platform/file.c +++ b/src/platform/file.c @@ -12,7 +12,6 @@ const char *string_from_file(const char *path) { FILE *f = fopen(path, "rb"); - printf("Hello\n"); if (f == NULL) { ERROR("Error reading file: %s. errno: %d", path, errno); return NULL; @@ -21,7 +20,6 @@ const char *string_from_file(const char *path) { ERROR("Error reading file: %s. errno: %d", path, errno); return NULL; } - printf("Hello2\n"); fseek(f, 0, SEEK_END); long fsize = ftell(f); rewind(f); @@ -31,8 +29,6 @@ const char *string_from_file(const char *path) { fclose(f); string[fsize] = '\0'; - printf("Hello3\n"); - printf("Hello %s\n", string); return string; } -- cgit v1.2.3-70-g09d2