mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
BLARG
This commit is contained in:
parent
fe96944fc0
commit
cce9de5ee1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user