mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Added support for using the %ROMPATH% variable in the es_systems.xml command tag.
This commit is contained in:
parent
c9899694ed
commit
b79f6588a4
|
@ -1169,6 +1169,7 @@ void FileData::launchGame()
|
|||
command = Utils::String::replace(command, "%ROM%", romPath);
|
||||
command = Utils::String::replace(command, "%BASENAME%", baseName);
|
||||
command = Utils::String::replace(command, "%ROMRAW%", romRaw);
|
||||
command = Utils::String::replace(command, "%ROMPATH%", getROMDirectory());
|
||||
|
||||
// Trim any leading and trailing whitespace characters as they could cause launch issues.
|
||||
command = Utils::String::trim(command);
|
||||
|
|
Loading…
Reference in a new issue