Commit Graph

7831 Commits

Author SHA1 Message Date
Vicki Pfau 9998de4880 GBA SIO: Move more write logging out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 54c9e9d411 GBA SIO: Move NORMAL finishing logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 1b0b540de6 GBA SIO: Move cycle estimation values into core 2024-09-26 22:40:26 -07:00
Vicki Pfau cd4132fba3 GBA SIO: Move MULTI finishing logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau f9e15c53d9 GBA SIO: Move more SIO logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 09a69a32c0 GBA SIO: Start moving common SIO logic out of drivers 2024-09-26 22:40:26 -07:00
Vicki Pfau 451da0f8a4 GBA SIO: Start adding new SIO callbacks for revamped API 2024-09-26 22:40:26 -07:00
Vicki Pfau 4cfa9c6545 Python: Remove SIO API pending revamp 2024-09-26 22:40:26 -07:00
Vicki Pfau 4b0b6b5d37 Scripting: Fix readRegister return type 2024-09-26 21:22:08 -07:00
Vicki Pfau c564a20970 GBA I/O: Fix 8-bit NR44 write 2024-09-20 23:21:14 -07:00
Vicki Pfau 1636078b34 GBA I/O: Fix audio register 8-bit write behavior (fixes #3086) 2024-09-20 03:12:06 -07:00
Vicki Pfau 49fa1a30c5 Qt: Fix Windows shared build 2024-09-19 02:09:20 -07:00
Vicki Pfau c64dbd6631 Qt: Make window corners square on Windows 11 (fixes #3285) 2024-09-19 00:05:58 -07:00
Vicki Pfau b37bd308f2 Qt: Update translations 2024-09-16 02:57:54 -07:00
Vicki Pfau 3853b699f4 Qt: Fix how some languages are shown in settings 2024-09-16 02:56:26 -07:00
Imre Kristoffer Eilertsen 9d9cb7450f Qt: Update translation (Norwegian Bokmål)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/nb_NO/
2024-09-16 02:55:35 -07:00
Evrins Hu a60448d7bc Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2024-09-16 02:55:35 -07:00
Milihraim e4973a98d8 Qt: Update translation (Russian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ru/
2024-09-16 02:55:35 -07:00
Hexaae 3ad4e62b02 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2024-09-16 02:55:35 -07:00
Vicki Pfau bb8a6e05f9 GBA Memory: Add support for palette RAM, VRAM, and OAM to GBAPatch8 2024-09-15 03:18:16 -07:00
Vicki Pfau a6914b2ddb Util: Rename color_t to avoid namespace conflicts 2024-09-06 23:24:40 -07:00
Vicki Pfau 1c85dba0df Core: Fix creating mVL contexts dropping the savestate 2024-09-06 23:24:40 -07:00
Vicki Pfau b072cb40cb Core: Fix video proxy renderer creation and improve API 2024-09-06 23:24:40 -07:00
Vicki Pfau ae6cc33a5e Core: Improve future-proofing of struct initialization 2024-09-06 21:33:09 -07:00
Vicki Pfau 3a07834226 Test: Allow extdata fuzzing 2024-09-06 21:19:34 -07:00
Vicki Pfau a5ea157c9a GBA Video: Add stubs for saving/loading extra data out of the video renderers 2024-09-01 01:56:52 -07:00
Vicki Pfau da553d191f Core: Extdata should not have a size < 0 2024-09-01 01:36:07 -07:00
Vicki Pfau 59b561b8c0 Core: mStateExtdataGet const correctness 2024-09-01 01:28:05 -07:00
Vicki Pfau 3a6657bd88 Core: Add stubs for loading/saving subsystem extra state 2024-09-01 00:55:29 -07:00
Vicki Pfau c06a376b2e Core: Switch video log state load/store to use mCore*State functions 2024-08-31 05:14:54 -07:00
Vicki Pfau 84dd69ff86 Util: Add UIntList predefined vector 2024-08-25 02:32:39 -07:00
anthonydo8196 ecfdff2338
Add load most recent script menu option (#3266) 2024-08-19 18:58:47 -07:00
Vicki Pfau eaee4228ba GBA Video: Improve emulation of window start/end conditions (fixes #1945) 2024-08-16 02:32:44 -07:00
Vicki Pfau e91da0f423 Scripting: Expose currentCycle in debugger builds
The global time is only maintained in debugger builds for performance reasons.
While it can be reconstructed on GBA, this is not the case on GB, so limit it
to debugger builds only.
2024-08-13 18:38:07 -07:00
Vicki Pfau cd22c140f0 GB: Fix potential null pointer deref 2024-08-13 00:16:42 -07:00
Vicki Pfau dfab801277 No-Intro: Prevent database from being downgraded 2024-08-12 16:08:36 -07:00
Vicki Pfau 17cf2e6237 No-Intro: Index database on MD5 and SHA1 too 2024-08-11 23:25:18 -07:00
Vicki Pfau b12858e974 GBA: Fix getting game info for multiboot ROMs 2024-08-11 23:25:18 -07:00
Vicki Pfau 8ab2681bca Core: Expose more ROM information from the API 2024-08-11 23:25:18 -07:00
jmjoy fde15b6e7d Remove SDL_WINDOW_OPENGL flag in mSDLSWInit 2024-08-08 20:34:08 -07:00
Vicki Pfau 09f456484c GB Serialize: Prevent loading invalid states where LY >= 144 in modes other than 1 2024-07-19 19:43:12 -07:00
Adam Higerd eb1b5718c3 Fix misplaced return in previous PR 2024-07-12 17:28:18 -07:00
Adam Higerd d1ab52112a Don't try to load non-.sym files as ARMIPS symbols 2024-07-12 17:20:44 -07:00
Vicki Pfau 9b598d2fe4 GBA Core: Fix crash after loading debug symbols (fixes #3254) 2024-07-11 14:09:35 -07:00
Vicki Pfau 4c161ff4df GBA Core: Fix loading symbols from ELF files if the file doesn't end with .elf 2024-07-07 11:13:32 -07:00
Vicki Pfau 5ebf3822cc Debugger: Remove redundant ifdef 2024-07-07 11:08:29 -07:00
Vicki Pfau bdffa83e6b GB, GBA Core: Fix memory leak if reloading debug symbols
Also fix loading an ELF if the current seek is not 0
2024-07-07 11:03:25 -07:00
Vicki Pfau f394c51a75 Qt: Fix some controllers with multiple players (e.g. Mayflash GC adapter) getting duplicated 2024-07-01 20:52:04 -07:00
Vicki Pfau 0a57aca1a5 Qt: Fix closure argument types 2024-07-01 20:45:26 -07:00
oltolm a824989e5a fix shortcuts 2024-06-28 02:18:01 -07:00
Vicki Pfau 79193b914b GBA Audio: Fix crash in audio subsampling if timing lockstep breaks 2024-06-25 04:08:47 -07:00
Vicki Pfau a4c2571d98 GBA Audio: Fix crash if audio FIFOs and timers get out of sync 2024-06-25 03:43:22 -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 e8bfaa210a GBA Video: Fix VRAM access stalling even during force blanking 2024-06-24 01:16:30 -07:00
Vicki Pfau d8375a5896 GBA Memory: Fix affine background timing errors 2024-06-20 22:30:16 -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
Vicki Pfau 745e36e6bc GB Video: Remove leftover #include 2024-06-17 00:15:44 -07:00
Vicki Pfau 3837ea8444 GB Debugger: Fix file formatting 2024-06-17 00:15:44 -07:00
Vicki Pfau ab0194fb49 GB MBC: Switch Pocket Cam to using standard color conversion methods 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 e16dfc264a GBA: CP14 mcr also is a no-op 2024-06-09 02:20:27 -07:00
Vicki Pfau 6f261f6f1b Scripting: Split console implementation out from Core scripting 2024-06-09 01:12:14 -07:00
Vicki Pfau 59f4fb7132 Test: Read config file in rom-test 2024-06-09 00:55:07 -07:00
Vicki Pfau 7451decdac Windows: Inno Setup fixes
Update minimum Windows version to 7, add DisableDirPage=no
2024-06-03 18:53:53 -07:00
yeah-its-gloria 8b041e9a23 Qt: Ignore rewind while loading/saving states 2024-06-03 16:59:56 -07:00
Vicki Pfau cf959fe20e GBA: Actually it reads open bus 2024-06-02 17:37:18 -07:00
Vicki Pfau 455060ec08 GBA: Add baseline CP0 (Wii U VC) and CP1 (DCC) implementations 2024-06-02 17:33:25 -07:00
Vicki Pfau e4e455dd5e ARM: Add framework for coprocessor support 2024-06-02 17:30:17 -07:00
Vicki Pfau 56023cfd02 Core: Fix warnings 2024-06-01 00:07:19 -07:00
Vicki Pfau b7729c9e80 GBA Video: Add special circlular window handling in OpenGL renderer 2024-05-27 02:57:23 -07:00
oltolm c7b5d10546 fix Qt deprecation warnings 2024-05-26 00:20:52 -07:00
Vicki Pfau 3a3ebb5dc7 Third-Party: Cherry-pick rapidjson buildfix 2024-05-25 01:33:26 -07:00
Vicki Pfau 2b394e1e26 GBA SIO: Remove erroneous RCNT setting 2024-05-24 21:17:10 -07:00
Vicki Pfau 8c0a28477b GBA SIO: Improve MULTI timing 2024-05-24 01:34:05 -07:00
Vicki Pfau 649be1b505 SDL: Properly disable SDL build if libsdl isn't found (fixes #3213) 2024-05-21 23:02:35 -07:00
Vicki Pfau 8b1efec116 Qt: Fix LCDC background priority/enable bit being mis-mapped in I/O view 2024-05-12 02:51:07 -07:00
Vicki Pfau b723ed4764 Qt: Better fix for I/O viewer 2024-05-12 02:48:05 -07:00
Vicki Pfau 6e3a00e081 Qt: Fix crash when applying changes to GB I/O registers in I/O view 2024-05-11 21:51:57 -07:00
Vicki Pfau f6851eba95 Libretro: Fix mapped high SRAM start address 2024-05-08 17:26:54 -07:00
Vicki Pfau e73f302aee Libretro: Attempt to fix #3202 2024-05-08 17:06:53 -07:00
Vicki Pfau 1ca75446c6 Libretro: Fix audio resampling after GBA fix 2024-05-07 22:33:49 -07:00
Vicki Pfau e5333f4e7c GBA Audio: Call audioRateChanged on reset if applicable 2024-05-07 22:32:33 -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 1d2b8bf918 Libretro: Add Super Game Boy Color support (closes #3188) 2024-04-30 02:57:41 -07:00
Vicki Pfau df75204a0b Wii: Fix audio resampling after GBA fix 2024-04-27 19:15:04 -07:00
Vicki Pfau 4aba51e955 Vita: Fix audio resampling after GBA fix 2024-04-27 18:55:18 -07:00
Vicki Pfau 5e581b0ade 3DS: Fix audio resampling after GBA fix 2024-04-27 18:29:29 -07:00
Vicki Pfau 5a28564b12 Switch: Fix audio resampling after GBA fix 2024-04-27 18:24:33 -07:00
Vicki Pfau db1e02521e GBA Core: Fix audio sample rate dynamically changing (fixes #3194) 2024-04-26 19:05:45 -07:00
Vicki Pfau aae9c502f0 Misc: Fix a slew of less-than-important warnings 2024-04-25 01:03:08 -07:00
Vicki Pfau 87653b7b19 Qt: Fix potential crash when configuring shortcuts 2024-04-24 23:19:31 -07:00
Vicki Pfau 88a8f80ebd VFS: Rename USE_VFS_* to ENABLE_VFS_* 2024-04-24 22:54:43 -07:00
Vicki Pfau 55add8a2c6 Util: Early exist mAudioBufferRead if the buffer is full 2024-04-22 21:42:34 -07:00
Vicki Pfau 2bce03023b GB, GBA Audio: Refactor stream code to do less when no stream is present 2024-04-22 21:39:11 -07:00
Vicki Pfau 3f54bcbc87 GB, GBA Audio: More efficient sample writing 2024-04-22 04:19:50 -07:00
Vicki Pfau d5e49a5981 All: Remove unmaintained RasPi and Pandora code 2024-04-22 03:34:55 -07:00
Vicki Pfau 267167a236 Libretro: Fix non-ENABLE_VFS build 2024-04-22 03:24:22 -07:00
Vicki Pfau 21d4f0f5fc All: Split ENABLE_VFS out from MINIMAL_CORE=2 2024-04-22 03:07:54 -07:00
Vicki Pfau 2cbbaea483 Python: Attempt to fix build 2024-04-22 03:04:34 -07:00
Vicki Pfau d422cbe65d OpenEmu: Remove upstream core
This is maintained downstream and not synchronized back upstream
2024-04-22 00:52:26 -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 f84208a3e4 GBA Memory: Let raw access read high MMIO addresses 2024-04-20 22:55:13 -07:00
Vicki Pfau f298c0185e Qt: Add option to force a specific version of Qt 2024-04-20 17:36:31 -07:00
Vicki Pfau 61791c91cb Switch: Fix warnings 2024-04-20 02:41:59 -07:00
Vicki Pfau b40cdd070c Switch: Switch to resampling with audren 2024-04-20 02:39:36 -07:00
Vicki Pfau 5d92c3ca0a SDL: Fix GB audio speed 2024-04-16 22:38:49 -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 96a2ef5f42 Util: Enable dropping part of a circle buffer with a null read 2024-04-16 21:02:55 -07:00
Vicki Pfau 76169c669a Util: Fix circle buffer dump offset forcing an early wrap 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
oltolm 4bd09bdac2 fix hang in AudioDevice 2024-04-16 16:32:46 -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 be85200b3e Qt: Fix race condition in Qt display driver that could cause division by zero 2024-04-14 20:22:11 -07:00
Vicki Pfau e8e6b803f2 Qt: Fix window resizing when no game is loaded 2024-04-14 16:54:02 -07:00
Vicki Pfau a999a87607 Debugger: Actually handle parseLexedExpression returning false 2024-04-14 04:22:40 -07:00
Vicki Pfau 2d7000c8ae Util: Remove unreachable code 2024-04-14 04:18:43 -07:00
Vicki Pfau f13a087b04 Feature: Fix (unused) mVideoProxyBackendRun with block=true 2024-04-14 04:17:15 -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 e8c6613b12 Util: Fix misaligned end pointer case 2024-04-12 22:59:08 -07:00
Vicki Pfau ce46b6fe78 Util: Fix overzealous CircleBufferRead/Write16, lots more tests 2024-04-12 22:33:28 -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 042a66bb80 Scripting: Fix leak when freeing painters 2024-04-12 20:52:16 -07:00
Vicki Pfau cecb4543c3 Util: Remember to free memory in tests 2024-04-12 00:54:54 -07:00
Vicki Pfau bc6a80137f Util: Start adding CircleBuffer tests 2024-04-12 00:46:12 -07:00
Vicki Pfau a8023e4f6a Qt: Remove debug message from CMakeLists 2024-04-11 20:33:51 -07:00
Vicki Pfau 2d03ae64ba 3DS: Handle audio resampling in DSP 2024-04-11 00:47:45 -07:00
Vicki Pfau cbd117eb3a Util: Start bringing up better audio resampling 2024-04-10 23:54:40 -07:00
Vicki Pfau 72202544bb Core: Don't trigger watchpoints with access inside of a script (fixes #3050) 2024-04-09 00:59:29 -07:00
Vicki Pfau 61172d837f Core: Fix thread not waking up properly on canceling request 2024-04-08 19:59:11 -07:00
Vicki Pfau 2037e97fc9 Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2024-04-08 15:46:06 -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 4652bbb427 Util: Fix #if into #ifdef 2024-04-08 02:53:00 -07:00
Vicki Pfau 02b2f5a98a flags.h: Add missing flags 2024-04-08 02:52:47 -07:00
Vicki Pfau 1f2d0d5056 GBA GPIO: Fix gyro read-out start (fixes #3141) 2024-04-05 00:10:09 -07:00
Vicki Pfau e61a324df2 Core: More threading cleanup 2024-04-04 23:00:41 -07:00
Vicki Pfau 104d746c1e Core: Fix some mutex ordering 2024-04-04 00:28:58 -07:00
Vicki Pfau b5a2f62c88 SDL: Really fix the build this time 2024-04-03 04:59:04 -07:00
Vicki Pfau ee1a860ac4 SDL: Fix build on SDL 2.0.12 2024-04-03 04:57:19 -07:00