Fix last minute bug [Zapper Beta (PS2)]

This commit is contained in:
bnnm 2023-10-15 10:01:42 +02:00 committed by GitHub
parent 17de674a7d
commit a4511921c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,11 @@ static bool layered_add_internal(VGMSTREAM* vs, int layers, int layer_channels,
vs->codec_data = NULL; /* moved to layer, don't hold it */
if (sf) {
if (!vgmstream_open_stream(data->layers[i], sf, 0x00))
goto fail;
}
data->curr_layer++;
return true;