Commit 05c267a8 authored by digitalLumberjack's avatar digitalLumberjack

added system in configgen arguments

parent a58b65ad
......@@ -30,3 +30,6 @@ CMakeCache.txt
CMakeFiles
cmake_install.cmake
Makefile
.idea/
*.iml
......@@ -125,7 +125,8 @@ void SystemData::launchGame(Window* window, FileData* game)
const std::string rom_raw = fs::path(game->getPath()).make_preferred().string();
command = strreplace(command, "%ROM%", rom);
command = strreplace(command, "%CONTROLERSCONFIG%", rom);
command = strreplace(command, "%CONTROLLERSCONFIG%", controlersConfig);
command = strreplace(command, "%SYSTEM%", this->mName);
command = strreplace(command, "%BASENAME%", basename);
command = strreplace(command, "%ROM_RAW%", rom_raw);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment