mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
init.lua: Change "historypath" (only supposed to be used for DATs) to "homepath" (where plugin data should reside)
This commit is contained in:
parent
e21454f0d9
commit
26defea154
@ -239,8 +239,8 @@ function console.startplugin()
|
||||
end
|
||||
if (not started) then
|
||||
-- options are not available in startplugin, so we load the history here
|
||||
local historypath = emu.subst_env(manager.ui.options.entries.historypath:value():match("([^;]+)"))
|
||||
history_fullpath = historypath .. '/console_history'
|
||||
local homepath = emu.subst_env(manager.ui.options.entries.homepath:value():match("([^;]+)"))
|
||||
history_fullpath = homepath .. '/console_history'
|
||||
ln.loadhistory(history_fullpath)
|
||||
started = true
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user