diff --git a/source/director.cpp b/source/director.cpp index f22d5ab..82d8cb6 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -500,6 +500,7 @@ void Director::loadResources(section_t *section) textureList.push_back("loading_screen_color.png"); textureList.push_back("loading_screen_color_zxarne.png"); textureList.push_back("gauntlet.png"); + textureList.push_back("smb2.png"); textureList.push_back("debug.png"); textureList.push_back("notify.png"); @@ -508,6 +509,7 @@ void Director::loadResources(section_t *section) // Offsets std::vector offsetsList; offsetsList.push_back("gauntlet.txt"); + offsetsList.push_back("smb2.txt"); offsetsList.push_back("debug.txt"); resource->loadOffsets(offsetsList); diff --git a/source/title.cpp b/source/title.cpp index 5e53b48..31f4c4b 100644 --- a/source/title.cpp +++ b/source/title.cpp @@ -24,7 +24,7 @@ Title::Title(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset * texture = resource->getTexture("loading_screen_color_zxarne.png"); } sprite = new Sprite(0, 0, texture->getWidth(), texture->getHeight(), texture, renderer); - text = new Text(resource->getOffset("gauntlet.txt"), resource->getTexture("gauntlet.png"), renderer); + text = new Text(resource->getOffset("smb2.txt"), resource->getTexture("smb2.png"), renderer); infoText = new Text(resource->getOffset("debug.txt"), resource->getTexture("debug.png"), renderer); // Crea la textura para los graficos que aparecen en el fondo de la pantalla de titulo