summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/timecode
Commit message (Collapse)AuthorAgeFilesLines
* -Improved some Lua APIs: Vas Crabb2023-04-071-2/+4
| | | | | | | | | | | | | | | | * Moved several machine lifecycle callbacks to the notifier/subscriber model. The old callback registration model is still available for them for now, but prints a deprecation warning. * Added pre-save/post-load notifications. * Use a single allocated timer rather than one anonymous timer per waiter. Waiters no longer prevent saved states from being loaded. * Clean up outstanding waiters on stop or state load rather than just leaking them. * Started documenting parts of the emulator interface object that should be relatively stable. -imagedev/avivideo.cpp: Fixed an object leak on unload. Also changed some other media image devices to use smart pointers.
* 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.
* plugins: Rewrote timer plugin fixing multiple issues. Vas Crabb2021-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | 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.
* -emu/ioport.cpp: Fixed "MAME lost my joystick settings!!!1!11! Vas Crabb2021-11-031-79/+127
| | | | -plugins: Gave the timecode plugin an option to count emulated frames.
* Fixed Windows build as well - default input overrides in OSD modules are ↵ Vas Crabb2021-11-021-1/+1
| | | | annoying.
* plugins: Fixed obligatory copy/paste error in new timecode plugin. Vas Crabb2021-11-021-1/+1
|
* plugins: Moved the timecode recording functionality to a plugin. Vas Crabb2021-11-022-0/+310