diff options
author | 2020-12-08 09:44:32 -0500 | |
---|---|---|
committer | 2020-12-08 09:44:32 -0500 | |
commit | e70d4ebb34be2bfbd9e93cf862d8d4d68ddf37cb (patch) | |
tree | a83af7d1cc8e19b49f1a82ede6dc346a548cef1f /plugins/data/load_dat.lua | |
parent | 6082c57817462f56ca4bfdfd1908c4498677c4b9 (diff) |
plugins: Replace environment variable substitution function with core version
Diffstat (limited to 'plugins/data/load_dat.lua')
-rw-r--r-- | plugins/data/load_dat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/data/load_dat.lua b/plugins/data/load_dat.lua index 024dbac0ad3..a21ae51aebe 100644 --- a/plugins/data/load_dat.lua +++ b/plugins/data/load_dat.lua @@ -27,7 +27,7 @@ function datfile.open(file, vertag, fixupcb) local fh for path in mame_manager:ui():options().entries.historypath:value():gmatch("([^;]+)") do - filepath = lfs.env_replace(path) .. "/" .. file + filepath = emu.subst_env(path) .. "/" .. file fh = io.open(filepath, "r") if fh then break |