Commit Graph

7773 Commits

Author SHA1 Message Date
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
Hexaae 8907131244 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2024-04-03 04:47:08 -07:00
Imre Kristoffer Eilertsen 910326f29d Qt: Update translation (Norwegian Bokmål)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/nb_NO/
2024-04-03 04:47:08 -07:00
ssantos 33bfd7f752 Qt: Update translation (Portuguese)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt/
2024-04-03 04:47:08 -07:00
Anatolij Vasilev af2e2fd517 Qt: Update translation (German)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2024-04-03 04:47:08 -07:00
Guih48 b78d230ba9 Qt: Update translation (Hungarian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/hu/
2024-04-03 04:47:08 -07:00
Enes Çetinkal 0a8470a6d0 Qt: Update translation (Turkish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/tr/
2024-04-03 04:46:04 -07:00
Ensar Melih Bulut 3a37c1d3ff Qt: Update translation (Turkish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/tr/
2024-04-03 04:46:04 -07:00
Eryk Michalak 7af70a69bb Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2024-04-03 04:46:04 -07:00
Felipe 424ef6ff74 Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2024-04-03 04:46:04 -07:00
Hoseok Seo dcb07f6e33 Qt: Update translation (Korean)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2024-04-03 04:46:04 -07:00
Momo cao 5acef1c454 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2024-04-03 04:46:04 -07:00
gallegonovato 6e39eb37f6 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2024-04-03 04:46:04 -07:00
Vicki Pfau 9320588e45 Qt: Switch SDL controller usage from Joystick to GameController 2024-04-03 04:41:54 -07:00
Vicki Pfau 68d120ec55 SDL: Start actually using SDL_GameController for its intended purpose 2024-04-03 02:56:29 -07:00
Vicki Pfau fb7ad7dbfb Qt: Actually load defaults again 2024-04-03 02:55:59 -07:00
Vicki Pfau 5ff777d301 Scripting: Add overloads, overload isKeyActive 2024-04-02 22:53:02 -07:00
Vicki Pfau e3edca1f41 Scripting: Attempt to shake out single-lua_State requirement 2024-03-26 22:24:14 -07:00
Vicki Pfau 86551614d9 Qt: Enable building against Qt6 by default 2024-03-25 21:27:58 -07:00
Vicki Pfau ae8b88a4a3 Qt: Fix underrun stalling with Qt6 2024-03-25 21:16:09 -07:00
Vicki Pfau 1179d218e7 Qt: Fix Qt6 build 2024-03-25 02:35:03 -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 4a17ed3b9c GBA: Remove legacy "mirroring" field from overrides 2024-03-25 01:23:39 -07:00
Vicki Pfau abf484638e GBA: Fix build 2024-03-25 01:23:14 -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 6940b424df Qt: Fix non-Multimedia build 2024-03-24 22:07:31 -07:00
Vicki Pfau 04bbcdfdd1 Qt: Fix build 2024-03-24 21:31:53 -07:00
Vicki Pfau dc29af8262 Qt: Hook up cameras in Qt6 2024-03-24 21:18:41 -07:00
Vicki Pfau 06448e8445 Qt: Get VideoDumper compiling with Qt6
Cameras still don't work though
2024-03-24 19:51:09 -07:00
Vicki Pfau 3f21de2b7c Qt: Port AudioProcessorQt to Qt6 2024-03-24 15:56:00 -07:00
Vicki Pfau cf0d8fdc28 Qt: Get InputController compiling with Qt6
Cameras still don't work though
2024-03-24 15:55:56 -07:00
Vicki Pfau a2587cb8cf Util: Code cleanup to remove unreachable code 2024-03-19 21:40:38 -07:00
Vicki Pfau aa7b9349f8 Core: Clean up thread state mutex usage 2024-03-19 21:30:47 -07:00
Vicki Pfau c80f3afd77 Qt: Reattach video backend when resetting scripts (fixes #3167) 2024-03-18 23:26:01 -07:00
Vicki Pfau 776d52a2c6 Scripting: Export new image masking function 2024-03-18 23:17:42 -07:00
Vicki Pfau 4fdadc585d GB Audio: Fix audio envelope timing resetting too often (fixes #3164) 2024-03-17 19:53:41 -07:00
Vicki Pfau c8c9fcb665 SDL: Use SDL_GameControllerRumble instead of SDL_JoystickRumble if available 2024-03-12 17:46:25 -07:00
Vicki Pfau d8ab5529a7 GB: Fix type coercion 2024-03-11 21:55:26 -07:00
TuxSH 369e6a03f4 Fix menu bug that allowed the selection of invalid states when wrap=true 2024-03-11 21:55:04 -07:00
TuxSH 4ee633925c 3DS: Implement 3x sharp bilinear scaling and make it the default
- Old method was 2x. 3x looks quite a bit sharper in aspect-fit mode on
  non-O2DS as the width is an integer number of half-width pixels. Since
  resulting upscaling ratio is 3x:1.5x, this gives very good results,
  althought it might be too sharp for your liking (YMMV). Not as much of
  a difference in screen-fit mode
- Remove duplicate rendertarget as it was not necessary
2024-03-11 21:55:04 -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
oltolm cf54ddd864 CMake: make compile with mingw-w64 and Qt6 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 c917a71ef8 Qt: Improve OpenGLES support and cleanup ifdef maze 2024-02-07 03:38:07 -08:00
Vicki Pfau 55c7c2f48e CMake: Remove leftover debug print 2024-02-07 01:44:57 -08:00
Vicki Pfau bba2c131a1 Qt: Shut coverity up a bit more 2024-01-31 15:41:34 -08:00
Vicki Pfau 3b32da60fa Qt: Attempt to fix MSVC build 2024-01-31 02:36:35 -08:00
Vicki Pfau 7bd877dfbd Qt: Shut up coverity some, despite this probably not doing anything 2024-01-31 01:22:18 -08:00
Vicki Pfau eff1785ce0 Qt: Coverity complains about this but I have no idea if it matters 2024-01-30 16:20:52 -08:00
Vicki Pfau 4cdcfe6dd3 Qt: Fix potential null deref 2024-01-30 16:20:52 -08:00
Vicki Pfau 530b997d7e Qt: Fix uninitialized variable 2024-01-30 16:20:52 -08:00
Vicki Pfau 1723a353c2 Updater: Fix updating appimage across filesystems 2024-01-30 16:20:52 -08:00
Bastien Orivel 7cacae1262 Add a `--script` option to load scripts automatically on startup 2024-01-30 15:52:48 -08:00
Vicki Pfau 0815443aeb Qt: Use && in some places that coverity recommends 2024-01-30 02:59:52 -08:00
Vicki Pfau 3133105fc9 Qt: Pay down a bit of MemoryAccessLogView tech debt 2024-01-30 02:59:52 -08:00
Vicki Pfau c0a323dbcd VFS: Fix UB 2024-01-30 02:59:52 -08:00
Vicki Pfau 7b0e400710 Util: Fix leak in SfoWrite 2024-01-30 02:59:52 -08:00