Unverified Commit c7b3aade authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #13 from zach-morris/patch-1

Update libretro.c
parents bcbd8dc9 ac83e19d
Pipeline #95439 passed with stages
in 5 minutes and 26 seconds
......@@ -394,8 +394,9 @@ void retro_run(void)
if (mp3Position + length > mp3Length)
{
length = mp3Length - mp3Position;
if (length <= 0)
if (length <= 128) // 2048 / 16
{
log_cb(RETRO_LOG_INFO,"Song ended, exiting libretro\n");
environ_cb(RETRO_ENVIRONMENT_SHUTDOWN, NULL);
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment