diff --git a/source/director.cpp b/source/director.cpp index ec1d032..414358e 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -9,7 +9,7 @@ Director::Director(std::string path) { // Crea el objeto que controla los ficheros de recursos - asset = new Asset(path.substr(0, path.find_last_of("\\/")) + "../"); + asset = new Asset(path.substr(0, path.find_last_of("\\/")) + "/../"); // Establece la lista de ficheros Uint8 section = PROG_SECTION_LOGO; @@ -393,7 +393,7 @@ Uint8 Director::getSection() // Establece el valor de la variable void Director::setSection(section_t section) { - section = section; + this->section = section; } void Director::runLogo()