diff options
author | 2022-12-16 14:03:59 -0500 | |
---|---|---|
committer | 2022-12-17 06:03:59 +1100 | |
commit | 13910382a5e846677f30d1645bfb44e4983de557 (patch) | |
tree | bc75e208d5dc4305a6721dff63efaec2864db178 /plugins/inputmacro/inputmacro_persist.lua | |
parent | 14c3d33e86ceeeeb57c44cb7d6aa85685f79813a (diff) |
osd/modules/file: Don't magically substitute environment variables when opening files. (#9859)
* util/options.cpp: Added option types for single and multiple paths.
* util/options.cpp: Substitute environment variables in values from defaults and INI files.
* ui/dirmenu.cpp: Removed hard-coded list of multi-path options.
* plugins: Don't substitute environment variables in path options.
Diffstat (limited to 'plugins/inputmacro/inputmacro_persist.lua')
-rw-r--r-- | plugins/inputmacro/inputmacro_persist.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/inputmacro/inputmacro_persist.lua b/plugins/inputmacro/inputmacro_persist.lua index 6c2aa6fd188..6519f3a048a 100644 --- a/plugins/inputmacro/inputmacro_persist.lua +++ b/plugins/inputmacro/inputmacro_persist.lua @@ -5,7 +5,7 @@ -- Helpers local function settings_path() - return emu.subst_env(manager.machine.options.entries.homepath:value():match('([^;]+)')) .. '/inputmacro' + return manager.machine.options.entries.homepath:value():match('([^;]+)') .. '/inputmacro' end local function settings_filename() |