From e70d4ebb34be2bfbd9e93cf862d8d4d68ddf37cb Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 8 Dec 2020 09:44:32 -0500 Subject: plugins: Replace environment variable substitution function with core version --- plugins/data/database.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/data/database.lua') diff --git a/plugins/data/database.lua b/plugins/data/database.lua index 6eda6ab1507..da1a2508cad 100644 --- a/plugins/data/database.lua +++ b/plugins/data/database.lua @@ -9,7 +9,7 @@ local function check_db(msg) end do - local dbpath = lfs.env_replace(mame_manager:ui():options().entries.historypath:value():match("([^;]+)")) + local dbpath = emu.subst_env(mame_manager:ui():options().entries.historypath:value():match("([^;]+)")) db = sql.open(dbpath .. "/history.db") if not db then lfs.mkdir(dbpath) -- cgit v1.2.3