From 80e91e7acd3c33c99e3bd3a1b4f0f05bb70d9d2e Mon Sep 17 00:00:00 2001 From: JailDoctor Date: Thu, 1 Dec 2022 20:02:12 +0100 Subject: [PATCH] - Executable Path in OpenDingux is exe name alone. Set "." instead --- source/common/asset.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; }