Skip to content

Commit d8b3069

Browse files
committed
[cmd-vmu] Fixed for latest KallistiOS API changes.
1 parent 81f307d commit d8b3069

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/vmu/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ int main(int argc, char *argv[]) {
276276
pkg.icon_cnt = 1;
277277
pkg.icon_anim_speed = 0;
278278
memcpy(pkg.icon_pal, DS_pal, 32);
279-
pkg.icon_data = DS_data;
279+
pkg.icon_data = (uint8 *)DS_data;
280280
pkg.eyecatch_type = VMUPKG_EC_16BIT; //VMUPKG_EC_NONE;
281281
pkg.data_len = siz;
282282
pkg.data = vmdata;
@@ -294,7 +294,7 @@ int main(int argc, char *argv[]) {
294294
if(normal) {
295295

296296
ds_printf("DS_PROCESS: Convert %s to normal file...\n", file);
297-
vmu_pkg_parse(vmdata, &pkg);
297+
vmu_pkg_parse(vmdata, siz, &pkg);
298298
fs_write(fd, pkg.data, pkg.data_len);
299299
fs_close(fd);
300300
free(vmdata);

0 commit comments

Comments
 (0)