summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/output.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous #include cleanup AJR2021-11-201-2/+0
|
* Much more core std::string_view modernization AJR2021-01-201-24/+27
| | | | | | | | | | | | | | | - Remove corestr.h from emu.h; update a few source files to not use it at all - Change strtrimspace, strtrimrightspace and core_filename_extract_* to be pure functions taking a std::string_view by value and returning the same type - Change strmakeupper and strmakelower to be pure functions taking a std::string_view and constructing a std::string - Remove the string-modifying version of zippath_parent - Change tag-based lookup functions in device_t to take std::string_view instead of const std::string & or const char * - Remove the subdevice tag cache from device_t (since device finders are now recommended) and replace it with a map covering directly owned subdevices only - Move the working directory setup method out of device_image_interface (only the UI seems to actually use the full version of this) - Change output_manager to use std::string_view for output name arguments - Change core_options to accept std::string_view for most name and value arguments (return values are still C strings for now) - Change miscellaneous other functions to accept std::string_view arguments - Remove a few string accessor macros from romload.h - Remove many unnecessary c_str() calls from logging/error messages
* emu: correct some file headers (nw) hap2020-06-191-1/+2
|
* Save states should not be break when changing output. Also get rid of a few ↵ Vas Crabb2019-12-131-10/+16
| | | | | | dozen output().set_value(...) calls in favour of output finders. (nw) This has the detrimental effect that outputs used in layouts will get the default value from the last element in the last view that uses them _after_ devices are started. If drivers/devices set initial output values on start rather than reset this could cause a problem.
* save/restore otuput values in save states Vas Crabb2019-12-131-45/+60
|
* devcb updates (nw) AJR2018-04-291-3/+7
| | | | | - Write callbacks can now be configured as `OUTPUT("item_name")`. This behaves equivalently to a zero-dimensional `output_finder`, while eliminating the need to instantiate and resolve this in driver classes separately from the callback itself. - The width of a callback's default mask now properly depends on its type (as was half-implemented before), instead of always being reset to 0xffffffffffffffff when actually configured. This allows MCFG_DEVCB_INVERT to work with line write callbacks as one might logically expect.
* start getting brutal on output.h (nw) Vas Crabb2018-03-021-26/+0
|
* Add N-dimensional output finder to avoid runtime string hashes - intlc440 in ↵ Vas Crabb2017-07-291-66/+79
| | | | RUN mode goes from 800% to 2000% unthrottled on 2010 i7 notebook
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-7/+7
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* Revert "Added IS_ENABLED, so we have compiler check for non used part, it is ↵ Miodrag Milanovic2016-11-121-1/+1
| | | | | | checked but not compiled in (nw)" This reverts commit c0407f073bf7afe26407c4add5cfeaf7104913c9.
* Added IS_ENABLED, so we have compiler check for non used part, it is checked ↵ Miodrag Milanovic2016-11-111-1/+1
| | | | | | but not compiled in (nw) false and true now used instead of integer where used as bool
* Do not use FUNC in delegate where applicable (nw) Miodrag Milanovic2016-11-061-2/+2
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-7/+7
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Make output_manager::find_item much more efficient (nw) AJR2016-08-241-4/+3
|
* feversoc: Hook up EEPROM; remap buttons (#1028) ajrhacker2016-07-051-0/+7
| | | | | | feversoc.cpp: Hook up EEPROM; remap buttons, hook up lamps and serial RTC [AJR]; rtc4543.cpp: More complete implementation with better logging features. Added JRC6355E variant used by feversoc. [AJR]
* Placed back old output system as module "-output windows" need more things ↵ Miodrag Milanovic2016-06-051-2/+3
| | | | cleaned (nw)
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-1/+1
|
* Cleanups and version bumpmame0170 Miodrag Milanovic2016-01-271-3/+3
|
* modernize output_manager (nw) Miodrag Milanovic2016-01-101-187/+52
|
* move things around (nw) Miodrag Milanovic2016-01-101-0/+14
|
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-121-3/+3
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-15/+15
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+370