actualitzat gamecontrollerdb.txt a la ultima versió i afegits els mappings de la recre

This commit is contained in:
2025-03-16 17:12:54 +01:00
parent 336c3119ff
commit 1b38a5a581
2 changed files with 139 additions and 77 deletions

View File

@@ -264,7 +264,6 @@ std::shared_ptr<Surface> Texture::loadSurface(const std::string &file_path)
std::cerr << "Error al leer el fichero " << file_path << std::endl;
throw std::runtime_error("Error al leer el fichero: " + file_path);
}
file.close();
// Crear un objeto Gif y llamar a la función loadGif
GIF::Gif gif;
@@ -344,7 +343,6 @@ std::vector<Uint32> Texture::loadPaletteFromFile(const std::string &file_path)
std::cerr << "Error: No se pudo leer completamente el fichero " << getFileName(file_path) << std::endl;
throw std::runtime_error("Error al leer el fichero: " + getFileName(file_path));
}
file.close();
// Usar la nueva función loadPalette, que devuelve un vector<uint32_t>
GIF::Gif gif;