Commit Graph

7746 Commits

Author SHA1 Message Date
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
Vicki Pfau 7727b6434d Qt: Pass logging context through to video proxy thread (fixes #3095) 2024-01-30 02:59:52 -08:00
Vicki Pfau 4590dfc68b Qt: Switch VideoProxy to using QMutexLocker 2024-01-30 02:59:52 -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
unknown 3e86758a9f Qt GDB Window defaults to loopback address 2024-01-29 20:19:20 -08:00
unknown 6243a57832 GBA Debugger defaults to loopback address 2024-01-29 20:19:20 -08:00
Vicki Pfau e5b14977ce Qt: Remember to set m_dims for the early return 2024-01-27 00:31:30 -08:00
Vicki Pfau e1ebaed508 OpenGL: Mark interframe shader as dirty too (fixes #3099) 2024-01-27 00:31:07 -08:00
Vicki Pfau 11e16d1ad9 GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs (fixes #3110) 2024-01-21 17:42:55 -08:00
Vicki Pfau 845d69e817 Qt: Fix input event threading regression (fixes #3116) 2024-01-21 17:28:16 -08:00
Vicki Pfau 5479ab1307 Vita: Use sceIoPwrite in VFileSce.sync 2024-01-21 02:46:46 -08:00
Vicki Pfau 4e87dc61ee Vita: Add imc0 and xmc0 mount point support 2024-01-21 02:46:45 -08:00
Vicki Pfau 6e773eafea VFS: Modernize VDeviceList implementation 2024-01-21 02:46:09 -08:00
Vicki Pfau 12ed251c0b GB: Fix uninitialized save data when loading undersized temporary saves 2024-01-21 02:46:09 -08:00
Vicki Pfau 7157729ac3 Swtich: Fix config item count 2024-01-18 18:10:32 -08:00
Vicki Pfau c2e2b6d93c Switch: Add bilinear filtering option (closes #3111) 2024-01-18 02:58:50 -08:00
Vicki Pfau 328bebbc01 GBA Video: Migrate window precalculation into a function 2024-01-09 23:26:14 -08:00
Vicki Pfau 2c5882df3e All: Fix some warnings 2024-01-09 22:17:33 -08:00
Vicki Pfau 16c777cdd9 Qt: Fix screen freezing on macOS after closing save state window (fixes #2885) 2024-01-07 16:57:25 -08:00
Vicki Pfau feb7b5a116 Config: Fix warning 2024-01-07 16:57:25 -08:00
Vicki Pfau e01fc0f2b7 3DS: Remove fancy memory mapping 2024-01-07 16:57:25 -08:00
Vicki Pfau 2e3ad7ed16 CMake: Clean up with PROJECT_SOURCE_DIR 2024-01-07 16:57:25 -08:00
luc-git 48253afc54
Qt: Fix shaders not applying when display is loaded (#3100)
Co-authored-by: Vicki Pfau <vi@endrift.com>
2024-01-06 22:47:11 -08:00
Vicki Pfau d83b2f99cd VFS: Use anonymousMemoryMap for large 7z allocations (fixes #3013) 2023-12-21 22:57:36 -08:00
Vicki Pfau 45387aa663 Qt: Fix Action leak 2023-12-21 00:24:16 -08:00
Vicki Pfau ffacbcfeea Qt: Make Gamepad be a shared_ptr 2023-12-20 22:59:35 -08:00