We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f307d commit d8b3069Copy full SHA for d8b3069
commands/vmu/main.c
@@ -276,7 +276,7 @@ int main(int argc, char *argv[]) {
276
pkg.icon_cnt = 1;
277
pkg.icon_anim_speed = 0;
278
memcpy(pkg.icon_pal, DS_pal, 32);
279
- pkg.icon_data = DS_data;
+ pkg.icon_data = (uint8 *)DS_data;
280
pkg.eyecatch_type = VMUPKG_EC_16BIT; //VMUPKG_EC_NONE;
281
pkg.data_len = siz;
282
pkg.data = vmdata;
@@ -294,7 +294,7 @@ int main(int argc, char *argv[]) {
294
if(normal) {
295
296
ds_printf("DS_PROCESS: Convert %s to normal file...\n", file);
297
- vmu_pkg_parse(vmdata, &pkg);
+ vmu_pkg_parse(vmdata, siz, &pkg);
298
fs_write(fd, pkg.data, pkg.data_len);
299
fs_close(fd);
300
free(vmdata);
0 commit comments