Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-pocketcdg
Commits
c7b3aade
Unverified
Commit
c7b3aade
authored
Dec 20, 2021
by
Libretro-Admin
Committed by
GitHub
Dec 20, 2021
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
Changes
1
Pipelines
100
Hide whitespace changes
Inline
Side-by-side
libretro.c
View file @
c7b3aade
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment