summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/timer/timer_persist.lua
Commit message (Collapse)AuthorAgeFilesLines
* osd/modules/file: Don't magically substitute environment variables when ↵ npwoods2022-12-171-1/+1
| | | | | | | | 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.
* srcclean in preparation for release of MAME 0.238. Vas Crabb2021-11-211-1/+1
| | | | | | | Patched up positron.cpp input ports - you shouldn’t use PORT_NAME when the key cap label is just the characters it produces anyway, and you’re supposed to use the actual character a key produces for PORT_CHAR or "natural" keyboard mode/paste will be unnatural.
* plugins: Rewrote timer plugin fixing multiple issues. Vas Crabb2021-11-061-0/+249
Added emulated time recording as well as wall clock time. Fixed recording time for multiple software items per system. An incorrect constraint on the database table meant that time was only being recorded for a single software item per system. Detect the "empty" driver so the time spent at the selection menu isn't recorded (you'd get multiple entries for this due to the way options leak when returning to the system selection menu). Included schema migration code to update existing timer plugin databases. Also replaced some unnecessary floating point code with integer maths, added log messages, and made the plugin unload unload its database access code during emulation. Changed other plugins' use of paths with trailing slashes as this causes stat to fail on Windows.