mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +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()
|
||||
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 filename
|
||||
if emu.softname() ~= "" and not nosoft then
|
||||
|
Loading…
Reference in New Issue
Block a user