mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
plugins/portname: Use emu.subst_env
This commit is contained in:
parent
e70d4ebb34
commit
a7921a601b
@ -28,7 +28,7 @@ local portname = exports
|
|||||||
|
|
||||||
function portname.startplugin()
|
function portname.startplugin()
|
||||||
local json = require("json")
|
local json = require("json")
|
||||||
local ctrlrpath = lfs.subst_env(manager:options().entries.ctrlrpath:value():match("([^;]+)"))
|
local ctrlrpath = emu.subst_env(manager:options().entries.ctrlrpath:value():match("([^;]+)"))
|
||||||
local function get_filename(nosoft)
|
local function get_filename(nosoft)
|
||||||
local filename
|
local filename
|
||||||
if emu.softname() ~= "" and not nosoft then
|
if emu.softname() ~= "" and not nosoft then
|
||||||
|
Loading…
Reference in New Issue
Block a user