* psixptty: Fix for FreeBSD
We need to check for __FreeBSD__ not __FreeBSD_kernel__
* FreeBSD: Use gl includes from pkg-config
FreeBSD doesn't install the includes from 3rdparty software in a default
location so use pkg-config to get the correct path.
* FreeBSD: genieos is named simple bsd
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>.
Added: 4D Sports Driving (3.5", Euro), 4D Sports Driving (5.25", Euro)
Redumped: [stunts] (the old one has a modified OEM ID)
Misc: [stunts] and [stunts35] are now clones of [4dsdrv] ; Renamed developer info on [cadaver], [menace], [caveugh], [indycrus35], [serenia], [kingqst], [mineshft]
* fmtowns_cd.xml: 3 new dumps, 5 replacements, railtycn floppy
- New dumps (working):
NHK Eigo de Asobo Vol. 3 - Bernard no Amusement Park [redump.org]
Oshiete Noobow [sampson]
Z's Triphony DigitalCraft Towns (HMB-212) [redump.org]
- Replaced entries with dumps from redump.org:
Burai Kanketsu-hen
Jealousy
Kindan no Ketsuzoku
Lunatic Dawn II
Necronomicon
- Added floppy disk dump to Railroad Tycoon and promoted to working [anonymous]
* fmtowns_cd.xml: add recreated floppy image for lipsadv3
things that don't need to change size.
Using a std::vector has additional overhead for keeping the size and
allocated size, and it means you can inadvertently resize it. Also, if
you register one for save state then cause it to reallocate, very bad
things happen.
Fixed some mixed tab/space indents in sound/mm5837.h
Changed namco_163.cpp to have registers as an array in the device, since
there aren't many of them, and also restored zeroing them on start.
* a number of minor fixes leading to an increase of 570% to 588% on
pongf.
* admittedly micro optimization.
* Includes some comments why certain decisions have been taken.