Commit Graph

134 Commits (a2f98541b3d96285193098dfe2a71211bf297310)

Author SHA1 Message Date
Stenzek a2f98541b3
Misc: Slim down some header includes 2 years ago
Stenzek 4f7ddfaae6
TimingEvents: Remove pointer indirection
Probably should move this to one big array for locality.
2 years ago
Stenzek 56dd9878e1
Misc: RISC-V build fixes 2 years ago
Stenzek bc30569a6d
SPU: Reverb input should be muted when SPU muted
Fixes pause menu in Bubsy 3D, Tuning Car Battle Spec R.
2 years ago
Stenzek 536b48d706
SPU: Pack state in struct 2 years ago
Stenzek 77488db3dc
Misc: Align CPU state and SPU voices to cache lines
Fixes the ~12% performance regression from the texture replacement
namespace'ify commit. Apparently LTO was placing the CPU struct in the
middle of a cache line...
2 years ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek 14ba3b7312
System: Fix sync to host refresh audio stretching 2 years ago
Stenzek 864b0ad5fe
Qt: Save audio output latency value separately to minimal flag 2 years ago
Stenzek 4139bf63d8
AudioStream: Backport changes 2 years ago
Stenzek b26a9556f7
System: Improve reset determinism 2 years ago
Stenzek 0fbc1a3a8a
AudioStream: Add surround expansion via FreeSurround 2 years ago
Stenzek f9f9447013
SPU: Ignore End+Mute flag for noise channels
Fixes the noise effects cutting out too early in Motor Toon Grand Prix.
3 years ago
Stenzek a4a58c6ba2
SPU: Implement volume sweep phase inversion 3 years ago
Stenzek fa6850902a
CPU: Make interrupts actually edge-triggered 3 years ago
Stenzek f5ddd7ba32
DMA: Template transfer functions
~20% speedup in FMV playback on a Ryzen 9 7950X3D. CPUs hate branches.
3 years ago
Stenzek 79c226efff
SmallString: fmt -> format, format -> sprintf 3 years ago
Stenzek cce7be4723
Misc: Make struct member functions file-local 3 years ago
Stenzek 01e505ec8b Common: Add intrin.h 3 years ago
Stenzek 2efda31694 Misc: More enum cast warning fixes 3 years ago
Stenzek e23c9875d5 Misc: Split core and util Host 3 years ago
Stenzek 991f7312b2 SPU: Fix building with SPU_DUMP_ALL_VOICES 3 years ago
Connor McLaughlin 1aa3be70c7 SPU: Bypass FIFO for direct memory writes
Aconcagua writes a single halfword with transfers halted, but never enables
DMA.. so when it eventually does later on, there's an extra halfword
written out to memory, which corrupted part of a sound effect.
4 years ago
Connor McLaughlin 0683b9fa0e InterruptController: Convert to namespace 4 years ago
Connor McLaughlin 3acf569d67 DMA: Convert to namespace 4 years ago
Connor McLaughlin dd73811628 CDROM: Convert to namespace 4 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
4 years ago
Connor McLaughlin 201a671709 System: Fix dumping audio on boot 4 years ago
Connor McLaughlin 5b2c18e27c SPU: Convert to namespace 4 years ago
Connor McLaughlin 68b5dd869c SPU: Add time stretched audio output 4 years ago
Connor McLaughlin 701780e2ef Qt: Regression fixes 4 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 4 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 4 years ago
Connor McLaughlin fd76f437b3 Core: Purge WITH_IMGUI define 5 years ago
Connor McLaughlin c346dfe8a4 SPU: Drop OOB register warnings to dev level 5 years ago
Connor McLaughlin 8769a55298 SPU: Add a couple more reverb registers to debug window 5 years ago
Connor McLaughlin 4fac032ff6 SPU: Add a macro to enable per-voice dumping 5 years ago
Connor McLaughlin c6c67b7b27 ImGui: Remove close button from debug windows
They can be closed by unchecking the setting instead, and it stays in
sync with the config this way.
6 years ago
Connor McLaughlin e01d66d18e System: Implement runahead 6 years ago
Connor McLaughlin 4e802e90ca SPU: Move voice key off/on outside sample loop
Should be a very tiny performance boost with no difference in behaviour.
6 years ago
Connor McLaughlin 3c012ec6ef SPU: Consider partial ticks when generating pending samples
Fixes hitches in opening FMV in Soul Blade (Europe).
6 years ago
Connor McLaughlin 914b9bf738 SPU: Drain transfer FIFO when cancelling transfer
The busy bit got stuck on otherwise, which broke the Spanish translation
of Vagrant Story.
6 years ago
Connor McLaughlin 11992bde4e TimingEvents: Use function pointers instead of std::function 6 years ago
Connor McLaughlin 15652b4c1f SPU: Fix a few cases where SPU interrupts weren't firing 6 years ago
Connor McLaughlin 73f6521452 SPU: Check voice addresses on IRQ re-enable
NASCAR 2001 music depends on the IRQ firing multiple times, when the
voice address is still set to the IRQ address.
6 years ago
Connor McLaughlin a90c25d0e7 SPU: Ignore manually set loop address only on first block
Fixes occasional missing dialogue in Valkyrie Profile.
6 years ago
Connor McLaughlin 917fa5dd0e SPU: Only ignore loop address for not-pending-on voices
Fixes softlocks during dialog in The Misadventures of Tron Bonne.
6 years ago
Connor McLaughlin 65be904d15 SPU: Only log warning about FIFO lost on writes 6 years ago
Connor McLaughlin 3f937a2a39 SPU: Port reverb algorithm changes from Mednafen 6 years ago
Connor McLaughlin 34a808c258 SPU: Zero previous block ADPCM samples on key on
Fixes clicking in background in Breath of Fire III.
6 years ago