diff --git a/source/common/asset.cpp b/source/common/asset.cpp index 1202129..73ccb62 100644 --- a/source/common/asset.cpp +++ b/source/common/asset.cpp @@ -4,7 +4,11 @@ // Constructor Asset::Asset(std::string executablePath) { +#ifdef __MIPSEL + this->executablePath = "."; +#else this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/")); +#endif longestName = 0; verbose = true; }