Skip to content

Commit

Permalink
bugfix!
Browse files Browse the repository at this point in the history
  • Loading branch information
RayDeeUx committed Sep 28, 2024
1 parent 98def92 commit 7d8265d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ SongInfoObject* Utils::getSongInfoObject() {
if (Utils::getBool("useCustomSongs")) return nullptr;
if (SongManager::get().isOriginalMenuLoop()) return nullptr;

auto songFileName = std::filesystem::path(SongManager::get().getCurrentSong()).filename();
auto songFileName = std::filesystem::path(SongManager::get().getCurrentSong()).filename().string();

// if it's not menuLoop.mp3, then get info
size_t dotPos = songFileName.find_last_of('.');
Expand Down

0 comments on commit 7d8265d

Please sign in to comment.