Skip to content

Commit

Permalink
BLARG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisotura committed Mar 8, 2022
1 parent fe96944 commit cce9de5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/qt_sdl/ROMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ std::string GetAssetPath(bool gba, std::string configpath, std::string ext, std:
for (;;)
{
int i = configpath.length() - 1;
if (i < 0) break;
if (configpath[i] == '/' || configpath[i] == '\\')
configpath = configpath.substr(0, i);
else
Expand Down

0 comments on commit cce9de5

Please sign in to comment.