2 Commits

2 changed files with 7 additions and 3 deletions

View File

@@ -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;
} }

View File

@@ -121,7 +121,7 @@ void Director::initOptions()
options->videoMode = 0; options->videoMode = 0;
options->windowSize = 3; options->windowSize = 3;
options->filter = FILTER_NEAREST; options->filter = FILTER_NEAREST;
options->vSync = true; options->vSync = false;
options->integerScale = true; options->integerScale = true;
options->keepAspect = true; options->keepAspect = true;
options->borderEnabled = true; options->borderEnabled = true;
@@ -130,11 +130,11 @@ void Director::initOptions()
options->palette = p_zxspectrum; options->palette = p_zxspectrum;
#ifdef GAME_CONSOLE #ifdef GAME_CONSOLE
options->windowSize = 2; options->windowSize = 1;
#endif #endif
// Estos valores no se guardan en el fichero de configuraci´ón // Estos valores no se guardan en el fichero de configuraci´ón
options->console = false; options->console = true;
options->cheat.infiniteLives = false; options->cheat.infiniteLives = false;
options->cheat.invincible = false; options->cheat.invincible = false;
options->cheat.jailEnabled = false; options->cheat.jailEnabled = false;