diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-03-05 22:18:45 +1100 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-03-05 22:18:45 +1100 |
commit | d5ae547334b5f8229313182705da42c5e904a633 (patch) | |
tree | 3656a402a2dfacd44c82f697061c387a622bcd0f /src/platform/file.c | |
parent | d92d5231ae094ae79d95463d54275a3527cf1c2d (diff) |
loads and runs now (no visuals yet)
Diffstat (limited to 'src/platform/file.c')
-rw-r--r-- | src/platform/file.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |