In creating spk image, the section which filesz is 0 is ignored, so change to check memsz instead of filesz. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| clefia.c | ||
| clefia.h | ||
| CMakeLists.txt | ||
| Config.mk | ||
| elf32.h | ||
| Makefile.host | ||
| mkspk.c | ||
| mkspk.h | ||
In creating spk image, the section which filesz is 0 is ignored, so change to check memsz instead of filesz. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| clefia.c | ||
| clefia.h | ||
| CMakeLists.txt | ||
| Config.mk | ||
| elf32.h | ||
| Makefile.host | ||
| mkspk.c | ||
| mkspk.h | ||