summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/delegate.h
Commit message (Collapse)AuthorAgeFilesLines
* (nw) So we're back to MSVC blowing up on non-trivial templates. Lovely. Vas Crabb2018-12-301-3/+10
| | | | | | | | Someone needs to get MS QA to put some non-trivial modern C++ compliation tests in the acceptance tests for their C++ compiler. Maybe MAME could even be a candidate. Well, that might be a plan if MS still had any QA. At least this makes some lines shorter (at the cost of needing more lines).
* Start cleaning up palette configuration: Vas Crabb2018-12-291-127/+113
| | | | | | | | | | * Basically, initialisers go in the constructor arguments, and things for setting format go in set_format. * Initialisation patterns can be specified with an enum discriminator or with a FUNC and optionally a tag. * Formats can be specified with an enum discriminator or a size and function pointer. * You must always supply the number of entries when setting the format. * When initislising with a paletter initialisation member, you can specify the entries and indirecte entries together. * The palette_device now has a standard constructor, so use .set_entries if you are specifying entry count with no format/initialisation. * Also killed an overload on delegates that wasn't being useful.
* Better support for screen orientation/geometry: Vas Crabb2018-07-261-5/+4
| | | | | | | | | | | | | | | | | | | | | * Eliminates the need for the horizontal/vertical/LCD/SVG layout files * Screens can now have orientation and physical aspect ratio specified * RASTER/VECTOR defaults to 4:3, LCD/SVG defaults to square pixels at config time * System orientation is applied on top of screen orientation Automatically generated single-screen views and orientation flags in XML output now work correctly for systems with multiple screens in different geometries/orientations, e.g. housemnq, rocnms, stepstag, or netmerc. The "core rotation options" only interact with system orientation. Allowing multi-screen systems to work well with one monitor per emulated screen is a complex topic. System orientation also affects the GFX viewer while screen orientation doesn't. The orientation displayed in the system selection menu is from the system orientation. Let me know if I've broken any systems or use cases. Also, add save state support for std::array/C array nested to any depth.
* delegates: Don't crash on late binding if no object is actually needed [O. ↵ Olivier Galibert2016-12-091-1/+1
| | | | | | Galibert] pci9050: Fix the mappings [O. Galibert]
* srcclean (nw) Vas Crabb2016-11-271-3/+3
|
* A round of spelling/typographical fixes to source comments (nw) Scott Stone2016-11-241-1/+1
|
* delegate fix - lambda always have object (nw) Miodrag Milanovic2016-11-081-1/+1
|
* Do not use FUNC in delegate where applicable (nw) Miodrag Milanovic2016-11-061-27/+12
|
* try to make GCC 5.4.0 happy (nw) Miodrag Milanovic2016-11-051-1/+1
|
* Delegate support for lambdas and std::functions in general, also supporting ↵ Miodrag Milanovic2016-11-051-35/+80
| | | | const members now [Miodrag Milanovic]
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-1/+1
|
* Add includes for dependency documentation. There is still inconsistent couriersud2016-04-081-1/+1
| | | | | use of assert(...) in src/lib/util. libutil compile will use assert from <assert> while other parts of mame will be compiled with assert from emucore.h.
* Enable the internal delegates for Emscripten too (nw) Justin Kerk2016-03-201-2/+0
|
* Updated delegates, now works on ARM and ARM64 (nw) Miodrag Milanovic2016-03-131-493/+37
|
* updated checks since old versions are anyway not supported (nw) Miodrag Milanovic2015-12-091-3/+2
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-18/+18
|
* Cleanups and version bumpmame0168 Miodrag Milanovic2015-11-251-4/+4
|
* Made fast delegates work on VS x64 builds (nw) Miodrag Milanovic2015-11-221-0/+63
|
* as req? (nw) David Haywood2015-11-041-1/+1
|
* made 32 bit mingw-clang build working Miodrag Milanovic2015-11-041-0/+2
|
* Cleanups and version bumpmame0163 Miodrag Milanovic2015-06-241-2/+1
|
* delegate.h now supports mingw 32 bit builds with INTERNAL configuration. couriersud2015-05-311-16/+60
| | | | Member functions are called in this case using __thiscall ABI. [Couriersud]
* get rid of some obsolete/unreachable stuff, get rid of more abuse of ↵ Vas Crabb2015-04-021-3/+3
| | | | SDLMAME_ macros outside OSD
* removed last assert.h occurance in a header (nw) Oliver Stöneberg2015-03-201-1/+0
|
* Fix crashing on ARM Linux targets. [R. Belmont, rjosal] arbee2015-03-041-0/+2
|
* Moved eminline and related files into /src/osd since it's system related (nw) Miodrag Milanovic2014-04-161-0/+943
Moved delegates into /src/lib/util to enable usage of delegates in other project parts Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_* Changed mess.mak to display compilation of ymmu100.ppm nicely