* link with wxneeded
required for DYNAREC, in addition to being installed
onto a filesystem with the wxallowed flag (like /usr/local
on a default installation)
* pthread_setname_np is pthread_set_name_np on OpenBSD
Instead of writing out disk blocks slowly across the entire volume,
just use the ftruncate function to create a file instantly at the
desired size.
Depending on file system, this can either result in identical results
to the old code just faster (eg: ZFS and btrfs with compression
enabled), sparse files (most native Unix file systems without
compression, eg ext4 and UFS), or a full non-sparse file like before
(creating an image on FAT).
It seems that Ctrl+End was used on non-Win32 platforms because
WxWidgets couldn’t use non-modifier keys as a keyboard sequence. Qt
can, and F8+F12 interferes with the operation of software a lot less
than Ctrl+End does (try doing some text editing!).
86Box hasn’t used WxWidgets for quite some time and this platform
limitation hack has long outlived its necessity.
* plat_vidapi() accepts char pointer, which never gets modifed
later on. Mark it as const.
* In src/config.c, va_name is initialized as NULL, however,
plat_vidapi_name() never returns a NULL pointer, nor it was
initialized under a condition branch. Removing NULL, might
save one instruction, which requires zeroing the register
before setting its initial value.
All: the icon refresh for the respective storage now works properly across all adapters that use it (especially the aha154x compatibles and spock/tribble).
SCSI CD-ROM: The Sony/Texel/DEC SCSI command 0xC0 (Set Address Format) isn't a command that checks for ready status, however, it is for other vendors like NEC, Matsushita, etc. and I am not wishing to create a duplicate command_flags array duplicate just for vendor unique commands. This fixes the MSF bit of Sony/Texel/DEC CD-ROM drives which don't use the Mode Page equivalent.
Toshiba only: attempt to mark the 3201B as a SCSI-1 only CD-ROM drive properly.