Commit Graph

12 Commits

Author SHA1 Message Date
Vas Crabb fab84e8d2b Mostly revert "Create console history file in homepath (#8026)"
The change to make the console plugin work is preserved.

This reverts commit 25137717c9.
2021-05-07 02:14:05 +10:00
Szunti 25137717c9
Create console history file in homepath (#8026)
* Fix console history path, homepath is a core option

* Create missing directories recursively in lua plugins.

* Add lfs to global environment in a less magical way.

require normally doesn't bind the name globally just returns the
module, mame sets a preloader that does bind lfs globally, but
maybe it's less surprising to do it explicitly
2021-05-03 20:40:10 -04:00
Vas Crabb 9e36b6a6d9 More Lua interface cleanup - it's simpler with cleaner underlyng APIs.
Made the sound manager mute controls readable, and got rid of system
enable since it just controls system mute anyway.  This was causing
confusion: phantom2 was trying to use both independentlyt casuing the
mute bit to be ignored.

THe Lua interface changes are mostly changing methods to properties,
some renames to make things clearer, and some additional properties for
better control over snapshots.
2020-12-27 01:32:37 +11:00
AJR e70d4ebb34 plugins: Replace environment variable substitution function with core version 2020-12-08 09:44:32 -05:00
Vas Crabb ac79c90607 srcclean (nw) 2018-04-22 09:24:13 +10:00
cracyc 71f9ff71d1 plugins/data: require returns true if package returns nil (nw) 2018-03-29 15:00:47 -05:00
cracyc 31be84ea40 plugins/data: give up if the database can't be created (nw) 2018-03-20 21:54:22 -05:00
cracyc 380bff2202 plugins/data: don't pollute the namespace and use emu.print_error (nw) 2018-01-14 08:39:37 -06:00
firewave 7da4d2dfc6 plugins/data: added reporting of database errors (nw) 2018-01-14 12:09:06 +01:00
Oliver Stöneberg f911ab2869 plugins/data: fixed table lookup (nw) 2018-01-13 19:37:04 -06:00
cracyc e94b4d2bac plugins/data: fix spelling (nw) 2018-01-12 16:27:14 -06:00
cracyc 83adc109e7 plugins/data: add marp scores [Carl] 2017-07-30 21:33:23 -05:00