actualitzat gamecontrollerdb.txt a la ultima versió i afegits els mappings de la recre
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user