Commit graph pcem/src/sound_pas16.c
Author SHA1 Message Date
SarahW
03b5a44aca More CPU sanitisation. 2019-02-08 21:17:56 +00:00
SarahW
a7d006b637 Rewrote timer code.
The new code is based on timestamps, rather than delays. This eliminates the
need to update every timer in timer_process(), which cost a non-trivial amount
of CPU time on low-end machines.

This involved changes to every user of the timer code, so this change almost
certainly introduces bugs.
2018-08-02 22:06:10 +01:00
SarahW
6e51e8975e Sound buffer size now configurable. 2017-06-10 21:00:23 +01:00
SarahW
099b7a21d1 Added NukedOPL emulator for OPL3. Based on patch from Battler. 2017-06-06 21:53:30 +01:00
SarahW
2b892d2a7a Fixed compiler warnings for Windows builds.
Added -Werror to Windows makefiles.
2017-04-11 19:34:41 +01:00
SarahW
d2b6ea7fa3 Mix sound sources in 32-bit buffer, then clip to 16-bit for output. Fixes overflow in some situations, eg MegaRace on SB16. 2016-05-22 16:04:19 +01:00
SarahW
c81a91fd72 Moved integer registers, PC and flags_* variables into new cpu_state structure. Reduces recompiled code size slightly, small speedup (1-3%). 2016-04-20 21:39:41 +01:00
TomW
3a57341837 Refactored sound code - slight speedup. 2016-02-10 20:49:28 +00:00
TomW
657aa19dd1 Devices can now be marked as not working, and disabled in release builds.
Video card menu now build dynamically from list.
2013-11-28 20:03:59 +00:00
TomW
bd873de9ac New 'available' function in device API, to determine whether required ROMs are available. Currently used when building soundcard menu, to remove AWE32 when required ROM dump is not present. 2013-11-04 18:23:15 +00:00
TomW
72f934d141 Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost. 2013-08-13 19:20:28 +01:00
TomW
58085bcc87 Re-organisation of video emulation. 2013-06-24 20:42:35 +01:00
TomW
f822488656 Add missing files from last commit. 2013-05-27 19:56:33 +01:00