diff --git a/main.c b/main.c index ae12953..e47afac 100644 --- a/main.c +++ b/main.c @@ -9,7 +9,7 @@ long GetFileSize(FILE* f){ return size; } -void DumpMemory(char *memory, FILE *filename){ +void DumpMemory(char *memory, char *filename){ FILE *dump = fopen(filename, "wb"); fwrite(memory, 1, mem_size, dump); fclose(dump);