device. also, group inputs in UI based on the device they are attached to and display
their tag only once instead of at each input. nw.
p.s. a clean build is likely needed
Pretty sure the "A.L. Australia" logo in eggventra, does not have anything to do with the old American company Allied Leisure. Plus having an (originally Australian) company named Leisure & Allied Industries has not helped matters over the years. (nw)
src/osd/modules/lib. For mainline and SDL windows the implementations
slightly differed. Dropped the SDL one in favour of mainline windows
osd_ticks() implementation. (nw)
connected to a device different from the root_device. these are the dynamical
inputs and it might be useful to be able to catch them without performing a
string comparison of the device tag against the root_device one. [Fabio Priuli]
ui: start displaying the device tag close to input names for the dynamical inputs
which use PORT_DEVICE, so to avoid some weird quirks in the input menus
when slot devices are modified. [Fabio Priuli]
out of whatsnew: for testing purposes I have added PORT_DEVICE only to serial inputs (bus/rs232)
and SMS controllers (bus/smsctrl). if you want to test these with slot devices of a driver you are more
familiar with, just add the macro to the inputs you want to test.
note: it is under discussion whether PORT_DEVICE is in fact useful, or if a string comparison for each
input port is not too costly in terms of performances and thus enough for our scopes... we will see the
result of the discussion, but in any case it will remain possible to match the sets of inputs with their
device :)
note, this is a bit ugly, I humbly ask that if somebody has a better solution they revert this and apply it instead.
The root of this issue is when SDL builds on Windows were converted over to simply using the WIndows file handling (so that large files requiring 64-bit pointers. eg. laserdisc CHDs would work) sdlfile.c simply includes winfile.c from the Windows code.
The rest of the SDL code is however passing incorrect slashes in the paths to the Windows code, causing it to fail when creating new folders.
To fix this I've simply copied a #if defined that was used in the sdlfile.c code, and applied it to the winfile.c code in places where path seperators are used, thus fixing the issue for both regular and SDL builds on Windows. It might however be more appropriate to filter / correct these further up?