summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/spg_renderer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* machine/spg_renderer.cpp: Fixed incorrect handling of 2-bit blend level. ↵ MooglyGuy2021-04-071-1/+5
| | | | (#7932) [Ryan Holtz, simer]
* Plug and Play improvements (#7461) David Haywood2020-11-151-8/+12
| | | | | | | | | * Improve rendering, banking, inputs for beijuehh * Identified register used for PRNG on GPL16250, needed for beijuehh new NOT WORKING machines ------------------------------ My Arcade Retro Micro Controller - 220 Built-In Video Games (DGUN-2869) [Zup, Team Europe] Lexibook Compact Cyber Arcade - PJ Masks [Zup, Team Europe]
* Cleaned up bitmap API. Vas Crabb2020-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made const-qualified pixel accessors (pix, pixt, raw_pixptr) return const-qualified references/pointers to pixesl, and added non-const versions. This makes bitmap more like standard library containers where const protects the content as well as the dimensions. Made the templated pixt accessor protected - having it public makes it too easy to inadvertently get a pointer to the wrong location. Removed the pix(8|16|32|64) accessors from the specific bitmaps. You could only use the "correct" one anyway, and having the "incorrect" ones available prevented explicit instantiations of the class template because the static assertions would fail. You can still see the pixel type in the bitmap class names, and you can't assign the result of &pix(y, x) to the wrong kind of pointer without a cast. Added fill member functions to the specific bitmap template, and added a explicit instantiations. This allows the bitmap size check to be skipped on most bitmap fills, although the clipping check is still there. Also fixed a couple of places that were trying to fill an indexed 16-bit bitmap with rgb_t::black() exposed by this (replaced with zero to get the same net effect). The explicit template instantiations in the .cpp file mean the compiler can inline the function if necessary, but don't need to generate a local out-of-line body if it chooses not to. Extended the size of the fill value parameter in the base bitmap class to 64 bits so it works correctly for 64-bit bitmaps. Fixed places where IE15 and VGM visualiser weren't accounting for row bytes potentially being larger than width. Fixed an off-by-one in an HP-DIO card where it was treating the Topcat cursor right edge as exclusive. Updated everything to work with the API changes, reduced the scope of many variables, added more const, and replaced a few fill/copy loops with stuff from <algorithm>.
* srcclean and cleanup (nw) Vas Crabb2020-06-211-14/+14
|
* move schick out of pengo driver + misc promotions (#6842) David Haywood2020-06-191-2/+3
| | | | | | | | | * moved schick.cpp out of pengo driver, too many small modifications to the hardware make it messy to keep there (nw) also promoted some sunplus games I've decided work well enough to promote (nw) * (nw) * (nw)
* Plug and Play work (new working machine) (#6800) David Haywood2020-06-061-40/+71
| | | | | | | | | | | | | | | | | | | * SunPlus current progres (nw) * defer expensve operation (nw) * new WORKING machine ---- Millennium M521 Arcade Neo 2.0 (Family Sport 220-in-1) [TeamEurope, David Haywood] - reworked / tweaked some of the SPG rendering based on my own research (nw) * param no longer required (nw) * move speedups (nw) * (nw) * fix asror, fixes piggy golf and ball shooter on unsp20 (nw)
* gpl16250 / sunplus rendering - improvements for jak_pf (double height ↵ David Haywood2020-06-051-12/+47
| | | | tilemaps etc.) (nw) (#6797)
* spg renderer / gpl16250 - remove some palette bank hacks (nw) DavidHaywood2020-06-051-41/+22
|
* SunPlus refactoring checkpoint (nw) (#6793) David Haywood2020-06-041-126/+393
|
* prepare SunPlus rendering code for sharing between SPG2xx and GPL16250 (nw) ↵ David Haywood2020-06-021-0/+526
(#6780)