Skip to content

Commit cce9de5

Browse files
committed
BLARG
1 parent fe96944 commit cce9de5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frontend/qt_sdl/ROMManager.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ std::string GetAssetPath(bool gba, std::string configpath, std::string ext, std:
8787
for (;;)
8888
{
8989
int i = configpath.length() - 1;
90+
if (i < 0) break;
9091
if (configpath[i] == '/' || configpath[i] == '\\')
9192
configpath = configpath.substr(0, i);
9293
else

0 commit comments

Comments
 (0)