summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/data/database.lua
Commit message (Collapse)AuthorAgeFilesLines
* plugins/data: Use local sqlite3 library variable. Vas Crabb2023-03-131-2/+2
|
* osd/modules/file: Don't magically substitute environment variables when ↵ npwoods2022-12-171-2/+2
| | | | | | | | 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.data: Reworked the code substantialy. Vas Crabb2022-06-251-26/+144
| | | | | | | | | | | | | | | | * Use the plugin data folder for storing the cache. The history folder may be read-only or shared with different configurations. * Don't create the cache database or surrounding folder if there's nothing to store in it. * Actually use prepared queries multiple times rather than always destroying them after a single use. * Added proper error checking for most database operations. * Improved query performance by avoiding outer joins and table scans. -bus/nubus: Made the Macintosh Display Cards map the blue channel to white with monochrome monitors. Also added logging for PLL configuration to help debug how CRTC and RAMDAC clocks work in the future.
* plugins: Moved the timecode recording functionality to a plugin. Vas Crabb2021-11-021-2/+2
|
* Mostly revert "Create console history file in homepath (#8026)" Vas Crabb2021-05-071-5/+1
| | | | | | The change to make the console plugin work is preserved. This reverts commit 25137717c9392d142650fcd679b09c400a2f5c4a.
* Create console history file in homepath (#8026) Szunti2021-05-031-1/+5
| | | | | | | | | | | * 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
* More Lua interface cleanup - it's simpler with cleaner underlyng APIs. Vas Crabb2020-12-271-2/+2
| | | | | | | | | | | 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.
* plugins: Replace environment variable substitution function with core version AJR2020-12-081-1/+1
|
* srcclean (nw) Vas Crabb2018-04-221-2/+2
|
* plugins/data: require returns true if package returns nil (nw) cracyc2018-03-291-2/+2
|
* plugins/data: give up if the database can't be created (nw) cracyc2018-03-201-0/+4
|
* plugins/data: don't pollute the namespace and use emu.print_error (nw) cracyc2018-01-141-4/+7
|
* plugins/data: added reporting of database errors (nw) firewave2018-01-141-0/+10
|
* plugins/data: fixed table lookup (nw) Oliver Stöneberg2018-01-131-1/+1
|
* plugins/data: fix spelling (nw) cracyc2018-01-121-1/+1
|
* plugins/data: add marp scores [Carl] cracyc2017-07-301-0/+24