Skip to content

Commit f258f5b

Browse files
committed
damit
1 parent 1896296 commit f258f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/SongListLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ unsigned int SongListLayer::getLength(const std::string& path, const bool revers
625625
return static_cast<unsigned int>(static_cast<double>(frames) / static_cast<double>(sampleRate));
626626
#else
627627
FMOD::System* sys = FMODAudioEngine::get()->m_system;
628-
if (!system) return extreme;
628+
if (!sys) return extreme;
629629
unsigned int temp = extreme;
630630
FMOD::Sound* sound;
631631
FMOD_RESULT resultSoundA = sys->createSound(path.c_str(), FMOD_OPENONLY | FMOD_2D, nullptr, &sound);

0 commit comments

Comments
 (0)