Commit Graph

805 Commits

Author SHA1 Message Date
Vicki Pfau 79193b914b GBA Audio: Fix crash in audio subsampling if timing lockstep breaks 2024-06-25 04:08:47 -07:00
Vicki Pfau 1a3873da67 GBA Serialize: Fix some minor save state edge cases
There are two edge cases fixed in this commit. The first one involves audio
FIFO DMA state not being properly updated if the game reconfigured it between
save and load. This doesn't happen often, but it could conceivably affect
custom sound engines. The second case is the extremely rare case of a save
state being taken directly after a DMA ending but before an open bus read. The
chances of this happening are negligible, but it's still a bug regargless.
2024-06-25 03:13:33 -07:00
Vicki Pfau 9318e9b2cb All: Clean up how assertions are done 2024-06-20 02:23:02 -07:00
Vicki Pfau 2ea11feda6 GBA Memory: Improve VRAM access stall cycle estimation 2024-06-17 02:27:31 -07:00
Vicki Pfau 458300b02e Core: Improve rumble emulation by averaging state over entire frame (fixes #3232) 2024-06-17 00:15:44 -07:00
Rib 58651f2054 GBA Memory: Clean up Vast Fame code somewhat 2024-06-12 15:58:55 -07:00
Rib 20fc7b6ef3 GBA Memory: Support the Chinese version of Digimon Sapphire by Vast Fame 2024-06-12 15:58:55 -07:00
Vicki Pfau 2c97515742 Script: Add missing include 2024-06-09 01:15:25 -07:00
Vicki Pfau 6f261f6f1b Scripting: Split console implementation out from Core scripting 2024-06-09 01:12:14 -07:00
Vicki Pfau e4e455dd5e ARM: Add framework for coprocessor support 2024-06-02 17:30:17 -07:00
Vicki Pfau 942167acdf ARM: Backport some CPU table improvements from medusa 2024-06-02 17:17:24 -07:00
Vicki Pfau b7729c9e80 GBA Video: Add special circlular window handling in OpenGL renderer 2024-05-27 02:57:23 -07:00
Vicki Pfau ff2dfeb516 Util: Clean up VFileOpen backing a bit more 2024-05-07 22:02:49 -07:00
Vicki Pfau d9e080b9a9 GBA: Prefix SIO constants with GBA_ 2024-05-06 15:35:23 -07:00
Vicki Pfau 88a8f80ebd VFS: Rename USE_VFS_* to ENABLE_VFS_* 2024-04-24 22:54:43 -07:00
Vicki Pfau 96702f7db1 Util: Use HAS_IPV6 more where appropriate 2024-04-23 22:33:57 -07:00
Vicki Pfau 21d4f0f5fc All: Split ENABLE_VFS out from MINIMAL_CORE=2 2024-04-22 03:07:54 -07:00
Vicki Pfau fa2fe8eed4 Third-Party: Remove blip_buf 2024-04-22 00:49:34 -07:00
Vicki Pfau f51cb153d1 Core: Switch from blip to mAudioResampler 2024-04-22 00:47:42 -07:00
Vicki Pfau 89866aff95 GBA Audio: Remove broken XQ audio pending rewrite
Gone but not forgotten.
2024-04-22 00:29:11 -07:00
Vicki Pfau febedc3a38 Util: Allow audio resampler to use different interpolators 2024-04-21 16:32:45 -07:00
Vicki Pfau afa8a25b5b Util: Add cosine interpolator 2024-04-21 16:26:20 -07:00
Vicki Pfau 2eca3c1477 Vita: Switch to using lw mutexes 2024-04-21 03:01:33 -07:00
Vicki Pfau 7b2edbd1bd Core: Add functions to get native sample rates 2024-04-16 21:02:55 -07:00
Vicki Pfau 73a39dea65 Core: Finally kill off GBAAudioCalculateRatio 2024-04-16 21:02:55 -07:00
Vicki Pfau 9fa825e336 Util: Start bringing up new resampler 2024-04-16 21:02:55 -07:00
Vicki Pfau d1a6e6b747 Qt: Add option to lock the maximum frame size (closes #1493) 2024-04-14 20:39:58 -07:00
Vicki Pfau 237d502404 Util: Add prototype mAudioBuffer wrapper 2024-04-13 00:48:37 -07:00
Vicki Pfau fd4175ebf8 Util: Rename CircleBuffer to mCircleBuffer 2024-04-12 23:27:37 -07:00
Vicki Pfau b62ae33f38 Util: Change mInterpolator data API 2024-04-12 23:17:07 -07:00
Vicki Pfau c689a7fd48 Util: Add CircleBufferWriteTruncate 2024-04-12 21:31:06 -07:00
Vicki Pfau 6d2109dd48 Util: Add offset parameter to CircleBufferDump, more tests 2024-04-12 21:27:35 -07:00
Vicki Pfau cbd117eb3a Util: Start bringing up better audio resampling 2024-04-10 23:54:40 -07:00
Vicki Pfau 0e441527c8 CMake: Rename USE_DEBUGGERS and USE_GDB_STUB to ENABLE_DEBUGGERS and ENABLE_GDB_STUB
ENABLE flags are for optional features, USE flags are for optional dependencies
2024-04-08 03:08:10 -07:00
Vicki Pfau e61a324df2 Core: More threading cleanup 2024-04-04 23:00:41 -07:00
Vicki Pfau 008a6f3f23 Scripting: Attempt to fix MSVC build 2024-04-04 00:31:47 -07:00
Vicki Pfau 5ff777d301 Scripting: Add overloads, overload isKeyActive 2024-04-02 22:53:02 -07:00
Vicki Pfau a430f58c15 GB, GBA: Move more override-adjacent stuff to public API 2024-03-25 01:47:32 -07:00
Vicki Pfau 318c5d7435 GBA: Move GBAHardwareDevice to public API 2024-03-25 01:24:50 -07:00
Vicki Pfau 4a17ed3b9c GBA: Remove legacy "mirroring" field from overrides 2024-03-25 01:23:39 -07:00
Vicki Pfau e48acb6b97 GB, GBA: Move override structs to public API 2024-03-24 23:03:59 -07:00
Vicki Pfau ea5339304a GBA Savedata: Prefix SavedataType constants and type name 2024-03-24 22:57:51 -07:00
Vicki Pfau 776d52a2c6 Scripting: Export new image masking function 2024-03-18 23:17:42 -07:00
Vicki Pfau c541a79e95 Windows: Fix compilation woes from last commit 2024-03-04 21:52:25 -08:00
oltolm 3571b112dc fix compilation warnings 2024-02-27 00:43:00 -08:00
Vicki Pfau 49d9b70e6f Core: Move rewind state coalescing into mCoreRewindRestore 2024-02-08 17:15:18 -08:00
Vicki Pfau 1fc37e9962 Core: Migrate thread context TLS to its own key 2024-01-30 02:59:52 -08:00
Vicki Pfau 05bf592dec SDL: Refactor out layer recentering, fix for GB 2024-01-30 02:59:52 -08:00
Steveice10 398df56ac9 core: Add support for specifying an arbitrary portable directory. 2024-01-29 20:21:18 -08:00
Vicki Pfau 328bebbc01 GBA Video: Migrate window precalculation into a function 2024-01-09 23:26:14 -08:00