summaryrefslogtreecommitdiff
path: root/csrc/test/dump_600.c
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/test/dump_600.c')
-rw-r--r--csrc/test/dump_600.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/csrc/test/dump_600.c b/csrc/test/dump_600.c
deleted file mode 100644
index 147de87..0000000
--- a/csrc/test/dump_600.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* gcc -m32 -I.. dump_600.c ../libmkf.a -o dump_600 */
-/* copy Data.mkf and run this, open loading.data with GIMP,
- * data type is RGB565 little endian, size 165*256, it's a tortoise card! */
-
-#include <stdio.h>
-#include "mkf.h"
-
-int pixel_fmt = 1;
-
-int main()
-{
- int mkf_data = load_mkf("Data.mkf");
- char *data = read_mkf(mkf_data, 600, NULL, NULL);
- FILE *fp = fopen("600.data", "wb");
- fwrite(data, 1, 84480, fp);
- fclose(fp);
- unload_mkf(mkf_data);
-}