forked from jaildesigner-jailgames/jaildoctors_dilemma
- Executable Path in OpenDingux is exe name alone. Set "." instead
This commit is contained in:
@@ -4,7 +4,11 @@
|
|||||||
// Constructor
|
// Constructor
|
||||||
Asset::Asset(std::string executablePath)
|
Asset::Asset(std::string executablePath)
|
||||||
{
|
{
|
||||||
|
#ifdef __MIPSEL
|
||||||
|
this->executablePath = ".";
|
||||||
|
#else
|
||||||
this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/"));
|
this->executablePath = executablePath.substr(0, executablePath.find_last_of("\\/"));
|
||||||
|
#endif
|
||||||
longestName = 0;
|
longestName = 0;
|
||||||
verbose = true;
|
verbose = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user