diff options
author | Iru Cai <mytbk920423@gmail.com> | 2018-09-29 22:19:33 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2018-09-29 22:19:33 +0800 |
commit | 795f5da2fb3e361fe1f349fdb9a6cb593a26babc (patch) | |
tree | 252345c187f9fa11624d1cbaa03965a6d71bc8e7 /csrc/test/dump_loading_scene.c | |
parent | 61c80f9a54ba499b5897a43990b46cf9a67e60c0 (diff) | |
download | rich4-795f5da2fb3e361fe1f349fdb9a6cb593a26babc.tar.xz |
remove dump_* and use dump_data, add runtest.sh
Diffstat (limited to 'csrc/test/dump_loading_scene.c')
-rw-r--r-- | csrc/test/dump_loading_scene.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/csrc/test/dump_loading_scene.c b/csrc/test/dump_loading_scene.c deleted file mode 100644 index ee9d31e..0000000 --- a/csrc/test/dump_loading_scene.c +++ /dev/null @@ -1,17 +0,0 @@ -/* gcc -m32 -I.. dump_loading_scene.c ../mkf.c ../mkf_00455040.c -o dump_loading */ -/* copy Data.mkf and run this, - * open loading.data with GIMP, data type is RGB565 little endian */ - -#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, 0x259, NULL, NULL); - FILE *fp = fopen("loading.data", "wb"); - fwrite(data, 1, 0x96000, fp); - fclose(fp); -} |