From aa970bbdefcf9270a05da5c13f71a6a4564144cf Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 23 Dec 2018 13:39:50 +0100 Subject: [PATCH] Adjust RedSpark case --- src/formats.c | 2 +- src/meta/meta.h | 2 +- src/meta/redspark.c | 4 ++-- src/vgmstream.c | 2 +- src/vgmstream.h | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/formats.c b/src/formats.c index e5e0210a..59b527b8 100644 --- a/src/formats.c +++ b/src/formats.c @@ -900,7 +900,7 @@ static const meta_info meta_info_list[] = { {meta_ADS, "dhSS Header"}, {meta_PS2_MCG, "Gunvari MCG Header"}, {meta_ZSD, "ZSD Header"}, - {meta_RedSpark, "RedSpark Header"}, + {meta_REDSPARK, "RedSpark Header"}, {meta_IVAUD, "Rockstar .ivaud header"}, {meta_DSP_WII_WSD, ".WSD header"}, {meta_WII_NDP, "Icon Games NDP header"}, diff --git a/src/meta/meta.h b/src/meta/meta.h index 0ae73883..7564ffb1 100644 --- a/src/meta/meta.h +++ b/src/meta/meta.h @@ -400,7 +400,7 @@ VGMSTREAM * init_vgmstream_zsd(STREAMFILE *streamFile); VGMSTREAM * init_vgmstream_ps2_vgs(STREAMFILE *streamFile); -VGMSTREAM * init_vgmstream_RedSpark(STREAMFILE *streamFile); +VGMSTREAM * init_vgmstream_redspark(STREAMFILE *streamFile); VGMSTREAM * init_vgmstream_ivaud(STREAMFILE *streamFile); diff --git a/src/meta/redspark.c b/src/meta/redspark.c index aee8f5e3..fe8f0b93 100644 --- a/src/meta/redspark.c +++ b/src/meta/redspark.c @@ -13,7 +13,7 @@ static uint32_t find_key(uint32_t firstword) { /* RSD - RedSpark (MadWorld) RS3D - RedSpark (Mario & Luigi: Dream Team I fi*/ -VGMSTREAM * init_vgmstream_RedSpark(STREAMFILE *streamFile) { +VGMSTREAM * init_vgmstream_redspark(STREAMFILE *streamFile) { VGMSTREAM * vgmstream = NULL; char filename[PATH_LIMIT]; off_t start_offset; @@ -105,7 +105,7 @@ VGMSTREAM * init_vgmstream_RedSpark(STREAMFILE *streamFile) { } else { vgmstream->layout_type = layout_none; } - vgmstream->meta_type = meta_RedSpark; + vgmstream->meta_type = meta_REDSPARK; { diff --git a/src/vgmstream.c b/src/vgmstream.c index 1a8d55f0..d775973a 100644 --- a/src/vgmstream.c +++ b/src/vgmstream.c @@ -212,7 +212,7 @@ VGMSTREAM * (*init_vgmstream_functions[])(STREAMFILE *streamFile) = { init_vgmstream_ps2_mcg, init_vgmstream_zsd, init_vgmstream_ps2_vgs, - init_vgmstream_RedSpark, + init_vgmstream_redspark, init_vgmstream_ivaud, init_vgmstream_wii_wsd, init_vgmstream_wii_ndp, diff --git a/src/vgmstream.h b/src/vgmstream.h index b43ed972..0770669b 100644 --- a/src/vgmstream.h +++ b/src/vgmstream.h @@ -500,8 +500,8 @@ typedef enum { meta_PS2_TK5, /* Tekken 5 Stream Files */ meta_PS2_MCG, /* Gunvari MCG Files (was name .GCM on disk) */ meta_ZSD, /* Dragon Booster ZSD */ - meta_RedSpark, /* "RedSpark" RSD (MadWorld) */ - meta_IVAUD, /* .ivaud GTA IV */ + meta_REDSPARK, /* "RedSpark" RSD (MadWorld) */ + meta_IVAUD, /* .ivaud GTA IV */ meta_NDS_HWAS, /* Spider-Man 3, Tony Hawk's Downhill Jam, possibly more... */ meta_NGC_LPS, /* Rave Master (Groove Adventure Rave)(GC) */ meta_NAOMI_ADPCM, /* NAOMI/NAOMI2 ARcade games */