diff --git a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp index e5131de..e7925ec 100644 --- a/RetroFE/Source/Collection/CollectionInfoBuilder.cpp +++ b/RetroFE/Source/Collection/CollectionInfoBuilder.cpp @@ -133,21 +133,10 @@ bool CollectionInfoBuilder::createCollectionDirectory(std::string name) settingsFile << "#media.video = " << Utils::combinePath("%BASE_MEDIA_PATH%", "%ITEM_COLLECTION_NAME%", "medium_artwork", "video") << std::endl; settingsFile.close(); - filename = Utils::combinePath(collectionPath, "menu.xml"); + filename = Utils::combinePath(collectionPath, "menu.txt"); std::cout << "Creating file \"" << filename << "\"" << std::endl; std::ofstream menuFile; menuFile.open(filename.c_str()); - - menuFile << "
" << std::endl; menuFile.close(); return true; diff --git a/RetroFE/Source/Control/UserInput.cpp b/RetroFE/Source/Control/UserInput.cpp index 8b3e62a..b8f3d75 100644 --- a/RetroFE/Source/Control/UserInput.cpp +++ b/RetroFE/Source/Control/UserInput.cpp @@ -26,7 +26,6 @@ UserInput::UserInput(Configuration &c) : config_(c) - , joystick_(NULL) { for(unsigned int i = 0; i < KeyCodeMax; ++i) { @@ -37,6 +36,13 @@ UserInput::UserInput(Configuration &c) UserInput::~UserInput() { + for(std::vector