Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
c5cc256b
Commit
c5cc256b
authored
Jun 10, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/gme: use Path::GetSuffix()
parent
563c7318
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
GmeDecoderPlugin.cxx
src/decoder/plugins/GmeDecoderPlugin.cxx
+2
-3
No files found.
src/decoder/plugins/GmeDecoderPlugin.cxx
View file @
c5cc256b
...
...
@@ -30,7 +30,6 @@
#include "util/ScopeExit.hxx"
#include "util/StringCompare.hxx"
#include "util/StringFormat.hxx"
#include "util/UriUtil.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
...
...
@@ -109,7 +108,7 @@ static Music_Emu*
LoadGmeAndM3u
(
GmeContainerPath
container
)
{
const
char
*
path
=
container
.
path
.
c_str
();
const
char
*
suffix
=
uri_get_suffix
(
path
);
const
auto
*
suffix
=
container
.
path
.
GetSuffix
(
);
Music_Emu
*
emu
;
const
char
*
gme_err
=
...
...
@@ -303,7 +302,7 @@ gme_container_scan(Path path_fs)
if
(
num_songs
<
2
)
return
list
;
const
char
*
subtune_suffix
=
uri_get_suffix
(
path_fs
.
c_str
()
);
const
auto
*
subtune_suffix
=
path_fs
.
GetSuffix
(
);
TagBuilder
tag_builder
;
...
...
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