(Android) Added support for using the %BASENAME% variable with the %EXTRA% and %EXTRAARRAY% variables

This commit is contained in:
Leon Styhre 2024-07-10 17:44:41 +02:00
parent 95433503e5
commit 18f5f3e164

View file

@ -1879,6 +1879,7 @@ void FileData::launchGame()
extraValue =
Utils::String::replace(extraValue, "%ROMPATHRAW%", getROMDirectory());
extraValue = Utils::String::replace(extraValue, "%ROMRAW%", romRaw);
extraValue = Utils::String::replace(extraValue, "%BASENAME%", baseName);
extraValue = Utils::String::replace(extraValue, "//", "/");
if (variable == "%EXTRA_")