Commit Graph

13287 Commits

Author SHA1 Message Date
TC1995
541b2ee556 PVGA fixes of the day (July 16th, 2024)
Actually fix it correctly as well as fixing 16 color mode that was made corrupt after the cleanup of the bank commit.
2024-07-16 21:32:21 +02:00
Miran Grča
4112d5f08a Merge pull request #4621 from jriwanek-forks/nuked
Nuked-OPL3: Update to latest as of 15/07/2024
2024-07-16 05:19:01 +02:00
Jasmine Iwanek
b5c7e59ab7 Nuked: Last of the update 2024-07-15 23:00:10 -04:00
Miran Grča
f9ea663521 Merge pull request #4619 from lemondrops/more-warning-fixes
residfp: Fix unused variable warnings with Clang
2024-07-15 19:14:53 +02:00
Miran Grča
60c9b9867b Merge pull request #4620 from lemondrops/ess-sort
Sort the ESS sound cards in the card list
2024-07-15 19:14:43 +02:00
Miran Grča
c4dc63e2a5 Merge pull request #4618 from lemondrops/static-fix
Library linking improvements
2024-07-15 19:14:33 +02:00
Alexander Babikov
2fceeb4e4b Fix unused variable warnings with Clang 2024-07-15 19:48:33 +05:00
Alexander Babikov
595db237f7 Sort the ESS sound cards in the card list 2024-07-15 19:39:36 +05:00
OBattler
fba01a9b39 CD-ROM IOCTL: Raw sector read fix. 2024-07-15 15:38:36 +02:00
Alexander Babikov
1d322fe99d Fix ssize_t related warnings on 32-bit Windows builds 2024-07-15 14:34:20 +05:00
Alexander Babikov
9f4886e031 Only define FLUIDSYNTH_NOT_A_DLL when linking statically 2024-07-15 10:59:35 +05:00
Alexander Babikov
0177e2881a Define LIBSLIRP_STATIC on Windows for proper static linking
This requires a not-yet-released version of libslirp, but thankfully
MSYS2 has backported the patch
2024-07-15 10:53:57 +05:00
Alexander Babikov
70bc4ef0be Remove a leftover copy of libslirp headers 2024-07-15 10:51:36 +05:00
Jasmine Iwanek
8056c1bc9a Nuked: wrbuf -> writebuf 2024-07-15 01:03:15 -04:00
Jasmine Iwanek
e654d01bd0 Nuked: chan_t -> opl3_channel 2024-07-15 01:03:15 -04:00
Jasmine Iwanek
e4ee5d2d01 Update snd_opl_nuked.c 2024-07-15 01:03:15 -04:00
Jasmine Iwanek
c7a268a01e Nuked: ch/chan -> channel 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
2bcfc8e697 Nuked: dev -> chip 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
8cb40b8b68 Nuked: Move stuff out to it's header 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
d3142e7793 More reorganization in snd_opl_nuked.c 2024-07-15 01:03:14 -04:00
Jasmine Iwanek
483fe43fb4 Nuked: Compile fixes
Update snd_opl_nuked.h
2024-07-15 01:03:13 -04:00
Jasmine Iwanek
3c0387bfc1 Nuked: nuked_t -> opl3_chip 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
29d72a82dc Nuked: slot_t -> opl_slot 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
f68e7d3eae Nuked: env -> envelope 2024-07-15 01:03:13 -04:00
Jasmine Iwanek
2f097d2fe6 reorganise snd_opl_nuked.c to closer match upstream 2024-07-15 01:03:12 -04:00
Jasmine Iwanek
56f50f4ebe Fix the envelope generator
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
5209e949ad Fixed conflict with Qt because of global "slots" macro
Co-Authored-By: Vitaly Novichkov <6751442+wohlstand@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
5efc896a44 snd_opl_nuked.c: Fixed the uint64_t comparison issue
UINT64_C macro added because of comparison issues in some cases.

Co-Authored-By: Vitaly Novichkov <6751442+wohlstand@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:12 -04:00
Jasmine Iwanek
b5b5353d46 Use only unsigned literals inside array index math expressions
Avoids OOBs as detected by UBSan

Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
0646a322e1 Add 4-channel output support
Co-Authored-By: Kagamiin <kagamiin@riseup.net>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
e5aa36919b Allow replacement of the sin() function used to populate the panning table
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:11 -04:00
Jasmine Iwanek
996e5cc784 Add stereo extension
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
87cdb6ac28 Add toggle to disable uneven L/R sample timing quirk
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
6332fd0b5e Factor slot loop bodies in nuked_generate into process_slot
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:10 -04:00
Jasmine Iwanek
e6466c4d25 Unroll accumulator loops
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
39e6b0fb2a Factor out repeated structure accesses into local variables
Co-Authored-By: Evan Ramos <1585791+hendricks266@users.noreply.github.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
3bc9d82f67 get rid of left shift
Co-Authored-By: nukeykt <alexeytf2@gmail.com>
2024-07-15 01:03:09 -04:00
Jasmine Iwanek
24b39c9c8f Move stuff around to accomodate nukedopl update 2024-07-15 01:03:09 -04:00
Jasmine Iwanek
4f020f9a83 Update Nuke.YKT's copyright date 2024-07-15 01:03:08 -04:00
Jasmine Iwanek
f4d57a8411 Some formatting in snd_opl_nuked.c 2024-07-15 01:03:08 -04:00
Miran Grča
f57a07b8e8 Merge pull request #4616 from jriwanek-forks/resid-fix
Fix resid warnings, and also explicitly set the C++ version
2024-07-15 03:38:16 +02:00
Jasmine Iwanek
e7989601f9 Fix compile warnings in residfp 2024-07-14 19:09:05 -04:00
Jasmine Iwanek
d455e3dbc0 resid: We support C++14 2024-07-14 18:11:26 -04:00
OBattler
ec4fbc60b4 BT48x sanity checking, fixes #4607. 2024-07-14 23:58:29 +02:00
Miran Grča
ea353f8bea Merge pull request #4615 from jriwanek-forks/residfp-interim
Update residfp to newer build (As of ~2023)
2024-07-14 23:31:26 +02:00
Jasmine Iwanek
40aa577fb4 Update residfp to newer build
Co-Authored-By: Alexander Babikov <2708460+lemondrops@users.noreply.github.com>
2024-07-14 17:16:40 -04:00
Miran Grča
3b60a23338 Merge pull request #4614 from 86Box/tc1995
Compile fix on PVGA.
2024-07-14 20:52:08 +02:00
TC1995
b4e049db7e Compile fix on PVGA.
See above.
2024-07-14 20:51:00 +02:00
Miran Grča
3e829df1e9 Merge pull request #4613 from 86Box/tc1995
SCSI and disk fixes (July 14th, 2024)
2024-07-14 20:46:11 +02:00
TC1995
0a2fa21f06 SCSI and disk fixes (July 14th, 2024)
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.
2024-07-14 20:42:50 +02:00