Commit Graph

24 Commits

Author SHA1 Message Date
npwoods
13910382a5
osd/modules/file: Don't magically substitute environment variables when opening files. (#9859)
* util/options.cpp: Added option types for single and multiple paths.
* util/options.cpp: Substitute environment variables in values from defaults and INI files.
* ui/dirmenu.cpp: Removed hard-coded list of multi-path options.
* plugins: Don't substitute environment variables in path options.
2022-12-17 06:03:59 +11:00
Vas Crabb
d775a2731d plugins: Moved the timecode recording functionality to a plugin. 2021-11-02 15:31:03 +11:00
Vas Crabb
4601e60391 plugins: Use SPDX short identifiers for licenses in exports (more precise and easier to localise), use CC0 for hiscore plugin rather than CC0. 2021-10-25 01:57:07 +11:00
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
cracyc
5b489ca475 plugins: fix missed lua api changes 2021-03-06 18:55:44 -06: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
a7921a601b plugins/portname: Use emu.subst_env 2020-12-08 15:57:41 -05:00
AJR
e70d4ebb34 plugins: Replace environment variable substitution function with core version 2020-12-08 09:44:32 -05:00
cracyc
845925fe99 plugins/portname: add softlist parent loading and import tag (nw) 2018-10-03 15:55:34 -05:00
cracyc
80d7461a75 portname: use hex values for mask (nw) 2018-10-02 13:54:46 -05:00
cracyc
fec83c922b plugins: handle the case where the ui prepends the list name to the list entry name (nw) 2018-05-02 09:37:34 -05:00
cracyc
137969abf5 plugins/portname: fix comment (nw) 2018-04-21 16:56:12 -05:00
cracyc
0c0e38ca58 plugins/portname: sort the output file (nw) 2018-04-21 08:52:15 -05:00
cracyc
b9977e0b03 plugins/portname: change indentation in save file by request (nw) 2018-04-18 16:42:42 -05:00
cracyc
d399f0bb18 plugins/portname: describe revised format 2018-03-14 17:13:59 -05:00
cracyc
d035e3b546 plugins/portname: change to address objections, also as suggested converted the controls.ini in repo https://github.com/cracyc/portname Removed the import but will still load parent if available (nw) 2018-03-12 22:49:26 -05:00
Vas Crabb
4e8bb7c7e5 srcclean and regenerate localisations (nw) 2018-01-28 14:25:52 +11:00
cracyc
59544382d3 plugins/portname: sort the list and print the port names and masks (nw) 2018-01-21 18:32:15 -06:00
cracyc
3d770d928e
oops (nw) 2018-01-15 10:27:48 -06:00
cracyc
cc7ccbd9b5 plugins/data: fix version for gameinit (nw) 2018-01-15 09:09:13 -06:00
cracyc
c5ee1d8a45 plugins/portname: add #import and #set tags (nw) 2018-01-08 22:03:54 -06:00
cracyc
3f21951418 portname: use a subdir and emu.file so they can be packaged in zips (nw) 2017-12-30 18:56:31 -06:00
cracyc
d3e7be82a8 plugins/portname: new wip plugin for loading translations or alt names for input port fields [Carl] 2017-12-30 16:02:56 -06:00