From 2955ab3a813b806d30bbab0b5f340f8929fd788b Mon Sep 17 00:00:00 2001 From: bnnm Date: Sun, 1 May 2022 12:13:11 +0200 Subject: [PATCH] Fix some SSPF .ssp [Metal Gear Solid 4 (PS3)] --- src/meta/sspf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/sspf.c b/src/meta/sspf.c index 2929fa4e..da9f1cf6 100644 --- a/src/meta/sspf.c +++ b/src/meta/sspf.c @@ -21,7 +21,7 @@ VGMSTREAM* init_vgmstream_sspf(STREAMFILE* sf) { goto fail; /* extra check to ignore .spc, that are a RAM pack of .ssp with a ~0x800 table at the end */ - file_size = read_u32be(0x08, sf) + 0x08; /* without padding */ + file_size = read_u32be(0x08, sf); /* without padding */ pad_size = 0; if (file_size % 0x800) /* add padding */ pad_size = 0x800 - (file_size % 0x800);