Small detection tweaks

This commit is contained in:
bnnm 2019-11-04 23:31:23 +01:00
parent 5167cc9252
commit bf14fccc97
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ static mpg123_handle * init_mpg123_handle() {
}
mpg123_param(m,MPG123_REMOVE_FLAGS,MPG123_GAPLESS,0.0); /* wonky support */
mpg123_param(m,MPG123_RESYNC_LIMIT, -1, 0x10000); /* should be enough */
mpg123_param(m,MPG123_RESYNC_LIMIT, -1, 0x2000); /* just in case, games shouldn't ever need this */
if (mpg123_open_feed(m) != MPG123_OK) {
goto fail;

View File

@ -25,7 +25,7 @@ VGMSTREAM * init_vgmstream_ffmpeg_offset(STREAMFILE *streamFile, uint64_t start,
// goto fail;
/* don't try to open headers and other mini files */
if (get_streamfile_size(streamFile) <= 0x100)
if (get_streamfile_size(streamFile) <= 0x1000)
goto fail;