Commit Graph

7507 Commits

Author SHA1 Message Date
Vicki Pfau cd4dbaeb60 Feature: Initialize z_stream more cleanly 2023-03-01 21:02:49 -08:00
Vicki Pfau a2072b67ba Core: Fix GBK string memory handling in .cht loading 2023-03-01 20:32:34 -08:00
Vicki Pfau bc048094b1 Feature: Fix No-Intro cleanup on initial errors 2023-03-01 20:27:51 -08:00
Vicki Pfau bba57ce530 All: Fix handling of strncat bounds 2023-03-01 20:16:40 -08:00
Vicki Pfau 064d6ce183 GB: Fix potential double-free of non-pristine ROM memory 2023-03-01 20:11:26 -08:00
Vicki Pfau e3983d3330 Core: Add missing va_end 2023-03-01 16:16:51 -08:00
Vicki Pfau 622a6e9e2d GB Memory: Fix potential crash when directly accessing invalid SRAM 2023-03-01 16:13:35 -08:00
Vicki Pfau e504ac3665 Qt: Fix crash if loading a shader fails 2023-03-01 16:10:43 -08:00
Vicki Pfau 7ffa0ff280 OpenGL: Fix memory leak in failure path 2023-03-01 16:08:56 -08:00
Vicki Pfau 2cce155173 GBA Savedata: Fix sanity check in Load 2023-03-01 16:02:28 -08:00
Vicki Pfau ee21eed29c Qt: Fix full-buffer rewind 2023-03-01 15:59:46 -08:00
Vicki Pfau 10a3165642 Qt: auto -> auto& cleanup 2023-03-01 15:52:34 -08:00
Vicki Pfau 5b72231166 GBA Overrides: Mark ASL* as no save (fixes #2843) 2023-02-28 18:11:21 -08:00
Vicki Pfau a64dcf8e43 All: Minor warning touching up 2023-02-24 22:35:52 -08:00
Michael Manganiello 682471fa1e Libretro: Fix undeclared constant
The `SIZE_CART_FLASH1M` constant was renamed to `GBA_SIZE_FLASH1M` in
8545271e9e

These leftovers make the Libretro build fail, when running:
```
cmake -DBUILD_LIBRETRO=ON .. && make
```
2023-02-24 04:24:54 -08:00
Vicki Pfau 47941aa0b0 Qt: Automatically change video file extension as appropriate 2023-02-24 03:51:07 -08:00
Vicki Pfau 1ca6f7e093 Scripting: Add WSAEWOULDBLOCK to error translation table 2023-02-22 19:52:33 -08:00
Vicki Pfau 6f14732e0d Qt: Fix loading a script leaving sync disabled 2023-02-15 02:29:57 -08:00
Vicki Pfau 0b17a40d6b Qt: Fix a handful of edge cases with graphics viewers (fixes #2827) 2023-02-14 23:13:04 -08:00
Adam Higerd 033efff86e hook frame callback in socket connect 2023-02-12 13:28:34 -08:00
Vicki Pfau b1faf67438 Scripting: Bucket names can't start with . 2023-02-12 01:46:05 -08:00
Vicki Pfau 422439f0a6 OpenGL: Export output buffer size to shader 2023-02-11 22:04:00 -08:00
Vicki Pfau 30fa0a3843 OpenGL: Fix null calloc/memcpy 2023-02-11 21:08:40 -08:00
Vicki Pfau 1722fe4530 Qt: Fix modifier key names in shortcut editor (fixes #2817) 2023-02-09 19:59:55 -08:00
Vicki Pfau 3bacc33ebe Qt: Disable attempted linking betwen incompatible platforms (fixes #2702) 2023-02-09 00:17:55 -08:00
Vicki Pfau cade5eebde Qt: Properly cap number of attached players by platform (fixes #2807) 2023-02-09 00:08:45 -08:00
Vicki Pfau c709aee0f3 Qt: Getting tired of pushing commits to fix the build without json-c 2023-02-08 21:15:51 -08:00
Vicki Pfau 3cbfaa010d Scripting: Add method to enable/disable storage bucket autoflushing 2023-02-08 20:37:19 -08:00
Vicki Pfau 466639ee31 Qt: Fix build without json-c 2023-02-08 19:17:28 -08:00
Vicki Pfau 123532ed6e Scripting: Add `callbacks:oneshot` for single-call callbacks 2023-02-08 19:14:36 -08:00
Vicki Pfau ff449dc66c Scripting: Fix non-json-c build 2023-02-08 17:57:23 -08:00
Vicki Pfau 1268aaee1c Scripting: Fix tests 2023-02-08 02:45:54 -08:00
Vicki Pfau e3e0957f14 Scripting: A slew of buildfixes 2023-02-08 02:37:35 -08:00
Vicki Pfau dca1e49c9f Scripting: Add documentation for storage and buckets 2023-02-08 01:27:33 -08:00
Vicki Pfau f3d49527b7 Qt: Add scripting storage integration 2023-02-08 01:27:33 -08:00
Vicki Pfau 63d96ab712 Scripting: Add flushing/reloading 2023-02-08 01:27:33 -08:00
Vicki Pfau 91474e179c Scripting: More storage tests 2023-02-08 01:27:33 -08:00
Vicki Pfau 8b65f3772c Scripting: Initial deserialization work 2023-02-08 01:27:33 -08:00
Vicki Pfau 0c6b443065 Scripting: Initial serialization work 2023-02-08 01:27:33 -08:00
Vicki Pfau c1e1843e5e CMake: Add json-c optional dependency 2023-02-08 01:27:33 -08:00
Vicki Pfau 00a34e0d07 Scripting: Add skeleton of storage API 2023-02-08 01:27:33 -08:00
Vicki Pfau aefcd174a8 Scripting: Warning cleanup 2023-02-08 01:25:34 -08:00
Vicki Pfau 045a2c96dc Scripting: Fix passing mSTList/Table from Lua back into the runtime 2023-02-08 01:25:17 -08:00
Vicki Pfau 282a033df2 Scripting: Clean up refcounting 2023-02-08 01:23:51 -08:00
Vicki Pfau 004f68496f Scripting: Add type-overloadable setters 2023-02-04 01:15:51 -08:00
Vicki Pfau f74db92ccd Scripting: Add wrapper drill-down casts 2023-02-04 01:15:51 -08:00
Vicki Pfau 39e3b5181a Scripting: Add WTABLE 2023-02-04 01:15:51 -08:00
Vicki Pfau c2bcf0df07 Scripting: Fix object get thunking 2023-02-04 01:15:51 -08:00
Vicki Pfau 0193bc3a83 Scripting: Fix table unwrapping 2023-02-04 01:15:51 -08:00
Vicki Pfau 5164b888d8 Scripting: Allow Lua to pass nested tables to the scripting subsystem 2023-02-04 01:15:51 -08:00
Vicki Pfau f37d068733 GBA SIO: Minor code modernization 2023-02-03 03:55:04 -08:00
Vicki Pfau 527313bafc GBA SIO: Normal mode transfers with no clock should not finish (fixes #2811) 2023-02-03 03:55:04 -08:00
Vicki Pfau f046596ca7 GBA SIO: Fix unconnected normal mode SIOCNT SI bit (fixes #2810) 2023-02-03 03:55:04 -08:00
Vicki Pfau e470795258 GBA Timers: Cascading timers don't tick when disabled (fixes #2812) 2023-02-03 01:43:34 -08:00
Vicki Pfau e95bd06321 Scripting: Clear down keys when the window is deactivated 2023-02-02 21:34:14 -08:00
Vicki Pfau f27ce8d82e Scripting: Add input:activeKeys to get currently active keyboard keys 2023-01-31 21:34:19 -08:00
Vicki Pfau 4afacfa067 Qt: Link QJpegPlugin on static Windows 2023-01-31 21:12:29 -08:00
Vicki Pfau 86327de14f Qt: Add filter for selecting forwarder images 2023-01-31 21:12:29 -08:00
Vicki Pfau bef88a4e13 Qt: Hide ? button on forwarder view 2023-01-31 20:58:38 -08:00
Vicki Pfau e445baaf14 Script: Fix table string key UAF 2023-01-31 17:22:45 -08:00
Vicki Pfau 5a5adc1b15 Script: Fix leaking tables passed from Lua 2023-01-31 17:22:45 -08:00
Vicki Pfau 92d86af955 GBA SIO: Fix SIOCNT SI pin value after attaching player 2 (fixes #2805) 2023-01-30 20:48:39 -08:00
Vicki Pfau d1f589e002 GBA Audio: Fix improperly deserializing GB audio registers (fixes #2793) 2023-01-30 00:21:28 -08:00
Vicki Pfau a67b0c0fb2 Qt: Update translations 2023-01-29 01:46:10 -08:00
Vicki Pfau 5b170b003a Qt: Stop eating boolean action key events (fixes #2636) 2023-01-29 01:44:14 -08:00
Vicki Pfau d07dbdc0dd Qt: Unbind apostrophe from GameShark button by default 2023-01-29 01:36:46 -08:00
Vicki Pfau a2d12548f5 Qt: Update translations 2023-01-29 00:20:18 -08:00
Alexander Hedberg 9a50b6dcd0 Qt: Added translation (Swedish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/sv/
2023-01-29 00:16:01 -08:00
nivea 8e5f5ba8ac Qt: Update translation (Japanese)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ja/
2023-01-29 00:16:01 -08:00
Momo cao c15f80a855 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2023-01-29 00:16:01 -08:00
Hoseok Seo 60fdbfd9ac Qt: Update translation (Korean)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2023-01-29 00:16:01 -08:00
shinyoyo 88c4c7857c Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2023-01-29 00:16:01 -08:00
Luna Lyday 7cf3535e03 Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2023-01-29 00:16:01 -08:00
Alex 253dca5840 Qt: Update translation (Russian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ru/
2023-01-29 00:16:01 -08:00
Lothar Serra Mari a90c09882e Qt: Update translation (German)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2023-01-29 00:16:01 -08:00
Felipe 92b7b347bf Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2023-01-29 00:16:01 -08:00
Vicki Pfau 38fa501a08 Qt: Fix controller hotplugging 2023-01-28 23:42:56 -08:00
Vicki Pfau c84c31bdc0 Core: Allow sending thread requests to a crashed core (fixes #2785) 2023-01-28 22:39:00 -08:00
Vicki Pfau 0701fb1997 Qt: It's 2023 now 2023-01-28 22:10:00 -08:00
Vicki Pfau 1a29a92c3a Switch: Improve screenshot texture handling 2023-01-28 20:31:46 -08:00
Vicki Pfau 70e31df683 mGUI: Improve savestate screenshot handling 2023-01-28 20:29:06 -08:00
Vicki Pfau 7bd0e91735 Qt: Fix savestate preview sizes with different scales (fixes #2560) 2023-01-28 17:49:00 -08:00
Vicki Pfau a4d1268db4 Core: Export screenshot dimensions in savedata extdata 2023-01-28 17:49:00 -08:00
Vicki Pfau 7ee2be6c96 Scripting: Export Input API docs 2023-01-27 21:22:33 -08:00
Vicki Pfau c0d4e2c347 Scripting: Expose gamepad name to scripts 2023-01-27 21:20:46 -08:00
Vicki Pfau 0dd7cfd44a Qt: Hook up gamepad to scripting 2023-01-27 21:20:46 -08:00
Vicki Pfau dfe2f62f16 Scripting: Basic gamepad support 2023-01-27 21:20:46 -08:00
Vicki Pfau a154690694 Scripting: Migrate some stuff from docgen into libmgba 2023-01-27 21:08:43 -08:00
Vicki Pfau 697e80a5a1 Qt: Start hooking up input events into scripting 2023-01-27 21:08:43 -08:00
Vicki Pfau 47bf00da5e Scripting: Implement input sequence numbers 2023-01-27 21:08:43 -08:00
Vicki Pfau e5ed2b4119 Scripting: Add base input, supports key events 2023-01-27 21:08:43 -08:00
Vicki Pfau fcfab847fc Scripting: Add callback arguments 2023-01-27 21:08:43 -08:00
Vicki Pfau fc2b94f9f7 Scripting: Allow basic pointer following 2023-01-27 21:07:57 -08:00
Vicki Pfau 6d8060034f Qt: Disable sync while running scripts from main thread (fixes #2738) 2023-01-27 19:41:57 -08:00
Vicki Pfau dbffb46c4e Wii: Fix build 2023-01-26 21:49:48 -08:00
Vicki Pfau 6bea763b23 Scripting: Allow struct access to inline strings 2023-01-26 21:39:19 -08:00
Vicki Pfau 8545271e9e GBA Memory: Modernize constant names 2023-01-26 18:59:35 -08:00
Vicki Pfau 6b63e42146 Qt: These return multiple keys 2023-01-26 16:18:10 -08:00
Vicki Pfau 0cfec878c8 Qt: mInputMapHat returns a mask, not a single key (fixes #2800) 2023-01-26 15:32:00 -08:00
Vicki Pfau 1dedd1d7a7 Qt: Include wayland QPA in AppImage (fixes #2796) 2023-01-26 07:17:53 -08:00
Vicki Pfau 8e671b0830 Qt: Fix crash when attempting to use OpenGL 2.1 to 3.1 (fixes #2794) 2023-01-26 05:57:08 -08:00
Vicki Pfau c4157e59fc Qt: Fix gamepad driver lookup 2023-01-26 04:05:23 -08:00
Vicki Pfau b5f600c0c5 Scripting: Allow weakrefs to be marked for auto-collection 2023-01-26 03:32:28 -08:00
Vicki Pfau 58089fb334 Scripting: Allow mScriptList members, better testing 2023-01-26 03:30:36 -08:00
Vicki Pfau 5216383c28 Scripting: Fix scripting console 2023-01-25 21:52:23 -08:00
Vicki Pfau 17ef84804b Scripting: Lua nullity fixes 2023-01-25 04:48:57 -08:00
Vicki Pfau e2668c25c5 Qt: Set default gamepad and sensor drivers 2023-01-25 04:17:38 -08:00
Vicki Pfau 0da94526bc Scripting: Add some nullity tests 2023-01-25 04:15:47 -08:00
Vicki Pfau 74e7a44da3 Qt: More API cleanup 2023-01-22 20:13:21 -08:00
Vicki Pfau 62c84ab815 Util: Add some base vector implementations 2023-01-22 19:44:57 -08:00
Vicki Pfau 430ffc18e2 Qt: Further input cleanup 2023-01-22 19:38:01 -08:00
Vicki Pfau 0c77227e06 Qt: Finish input driver separation 2023-01-22 19:38:01 -08:00
Vicki Pfau 547c9269fa Qt: Start shaking out GBAKey 2023-01-22 19:38:01 -08:00
Vicki Pfau 8ec856e10c Qt: Move Gamepad events into input/ 2023-01-22 19:38:01 -08:00
Vicki Pfau 4580e8d2e9 Qt: Start adding better input abstractions 2023-01-22 19:38:01 -08:00
Vicki Pfau be3022156f Qt: Start splitting up InputController 2023-01-22 19:38:01 -08:00
Vicki Pfau 1584023f34 Core: Round out input API pre-revamp 2023-01-22 19:38:01 -08:00
Vicki Pfau 8c5940e540 Qt: Add ig4icd32 crash to OpenGL bug database (see #2136) 2023-01-22 17:43:09 -08:00
Vicki Pfau 0d0e92ce59 GBA Memory: Make VRAM access stalls only apply to BG RAM 2023-01-16 00:09:35 -08:00
Vicki Pfau 941ad50723 Qt: Attempt to shorten Game Boy settings pane 2023-01-14 15:51:42 -08:00
Vicki Pfau 9df06383b5 Qt: Work around Mesa issue 8035 2023-01-09 00:11:12 -08:00
Vicki Pfau 70e6470e8b Qt: Fix minor leak 2023-01-08 23:59:36 -08:00
Vicki Pfau 068e1fb612 GB Audio: Fix regression in channel updating with NR5x (fixes #2775) 2023-01-06 14:26:14 -08:00
Vicki Pfau 819d19dddc Qt: Redo stable branch detection heuristic 2022-12-31 18:15:55 -08:00
Vicki Pfau 9f8679ffa6 Qt: Fix initializing update revision info 2022-12-31 17:54:51 -08:00
Vicki Pfau 1c370f6ebe Scripting: Refactor out some testing code 2022-12-31 01:19:58 -08:00
Vicki Pfau 0a4cafcd57 GB BIOS: Include timing in degenerate ArcTan2 cases (fixes #2763) 2022-12-29 20:40:56 -08:00
Vicki Pfau 520609d12a Qt: Fix indentation 2022-12-29 20:40:56 -08:00
Vicki Pfau 61950a52dc GBA Cheats: Clean up redundant variables 2022-12-29 20:40:56 -08:00
momocaoo f3b6593ab6
Qt: Fix typo in Forwarder ui (#2764) 2022-12-25 18:13:37 -08:00
Vicki Pfau 1b9671bf21 GBA Cheats: Fix issues detecting unencrypted cheats (fixes #2724) 2022-12-22 16:02:12 -08:00
Vicki Pfau 86bcbf1716 Qt: Start OpenGL bug list with glFlush cross-thread on Windows (fixes #2761) 2022-12-21 22:13:23 -08:00
Vicki Pfau 455e34edcf Qt: glFlush is (thankfully) sufficient here 2022-12-18 21:48:08 -08:00
Vicki Pfau 90893dff60 GBA Video: Fix #2489 in OpenGL renderer 2022-12-18 17:01:01 -08:00
Vicki Pfau d2949383d5 GBA: Clean up BIOS skip detection; add second multiboot entry 2022-12-18 00:04:27 -08:00
Vicki Pfau 83578d915b Qt: Refactor and fix dequeueAll so keep mode keeps last draw tex too 2022-12-17 00:22:20 -08:00
CasualPokePlayer 0ac446beda
Check gba->mbVf for force skipping the BIOS (#2754) 2022-12-16 22:12:24 -08:00
Vicki Pfau ab82b2c856 GB IO: Fix BANK not getting initialized after recent change 2022-12-13 15:18:21 -08:00
Vicki Pfau b3f9d9b186 Qt: Fix loading/unloading shaders 2022-12-12 14:31:41 -08:00
Vicki Pfau 4626cac9e8 Qt: Tentative fix for renderer switching crash 2022-12-12 04:00:40 -08:00
Vicki Pfau 1127cf8b84 Qt: Fix proxy context creation on Nvidia (fixes #2746) 2022-12-12 03:12:06 -08:00
Vicki Pfau 27076733d4 GB Audio: Fix updating channels other than 2 when writing NR5x 2022-12-11 19:11:21 -08:00
Vicki Pfau 50fd46506c GB Audio: Fix up boot sequence 2022-12-11 19:11:21 -08:00
Vicki Pfau 4f70b313fc GB Memory: Actually, HDMAs should start when LCD is off (fixes #2662) 2022-12-08 01:20:51 -08:00
Vicki Pfau dc5f6e37e1 GB Audio: Initialize ch3 window value 2022-12-07 20:56:16 -08:00
Vicki Pfau b220c7a68b Qt: Attempt to fix 5.8 build 2022-12-07 02:35:08 -08:00
Vicki Pfau e9ec009836 GB Audio: Fix channel 3 volume being changed between samples (fixes #1896) 2022-12-07 01:21:21 -08:00
Vicki Pfau 3385f02b51 GBA DMA: Minor optimization of warm function 2022-11-30 17:44:53 -08:00
Vicki Pfau 2ba42761b8 Libretro: Add back missing audio overkill (fixes #2734) 2022-11-29 02:20:24 -08:00
Vicki Pfau 083585b565 GB Audio: Fix channels 1/2 not playing when resetting volume (fixes #2614) 2022-11-28 22:37:31 -08:00
Vicki Pfau 4fefa0c51a Qt: Fix build on older Qt 2022-11-28 14:25:18 -08:00
Vicki Pfau 1b684ae2e3 Qt: Improve handling of multiplayer syncing (fixes #2720) 2022-11-28 01:00:59 -08:00
Vicki Pfau 6f08b740f9 GB SIO: Further fix bidirectional transfer starting 2022-11-28 00:59:36 -08:00
Vicki Pfau 9b2d4bc68e Qt: Don't re-enable sync if GBA link modes aren't the same (fixes #2044) 2022-11-27 20:08:20 -08:00
Vicki Pfau c511d53d59 GBA Video: Disable BG target 1 blending when OBJ blending (fixes #2722) 2022-11-25 21:37:12 -08:00
Vicki Pfau 6aa558c4a0 Qt: Move OpenGL proxy onto its own thread (fixes #2493) 2022-11-20 20:52:42 -08:00
Vicki Pfau 085ce4890d GBA: Fix resetting key IRQ state (fixes #2716) 2022-11-12 00:35:34 -08:00
Vicki Pfau 2ea0114ae2 GBA Video: Ignore disabled backgrounds as OBJ blend target (fixes #2489) 2022-11-07 20:43:22 -08:00
Vicki Pfau c4384d1d1e Qt: Add forwarder building from a specific base file 2022-11-06 22:26:53 -08:00
Vicki Pfau 8770200874 Qt: Refactor out common generator code 2022-11-06 22:26:53 -08:00
Vicki Pfau f847502f4a Qt: Use a UA string for all HTTP requests 2022-11-06 22:26:53 -08:00
Vicki Pfau 91e62b8e72 Qt: Use filters for the forwarder file types 2022-11-06 22:26:53 -08:00
Vicki Pfau b48c7a1887 Qt: Add a progress bar for the forwarder builder downloads 2022-11-06 22:26:53 -08:00
Luna Mittelbach 694b80d289
GBA: Verify ELF entrypoint against ROM header (#2714) 2022-11-05 01:44:29 -07:00
Vicki Pfau b8c7196dd9 Qt: Cleanup 2022-11-01 03:21:15 -07:00
Vicki Pfau 7f30bdc850 Qt: Initial support for forwarder-kit 2022-11-01 03:21:05 -07:00
Vicki Pfau 6bdb3470e7 Qt: Fine, whatever, build fixed more 2022-10-31 20:45:46 -07:00
Vicki Pfau 25bb7a9192 Qt: Fix build 2022-10-31 20:41:46 -07:00
Vicki Pfau 658f4e1a34 Qt: First pass at 3DS forwarder generator 2022-10-31 19:51:17 -07:00
Vicki Pfau 2b7f5ba4d0 Qt: I wrote a function for this... 2022-10-31 19:51:17 -07:00
Vicki Pfau 3f24047abb Qt: Split out some helper functions 2022-10-31 19:51:17 -07:00
Vicki Pfau 9ed00c95b6 Qt: Add cache dir call, for later expansion 2022-10-31 19:45:38 -07:00
Vicki Pfau 472660a5d3 Qt: Pay down some VFile technical debt 2022-10-30 02:48:39 -07:00
Vicki Pfau 2a5417e3ce Qt: Fix build on Qt 5.9 - 5.14 2022-10-29 02:02:30 -07:00
Vicki Pfau 56c9065f70 Qt: Add forwarder UI and Vita backend (closes #2267) 2022-10-29 01:40:52 -07:00
Vicki Pfau dd13ceb42d VFS: Fix minizip write returning 0 on success instead of size 2022-10-29 01:38:34 -07:00
Vicki Pfau 3b558a9509 Qt: Move ROM filter function to utils 2022-10-29 01:37:52 -07:00
Vicki Pfau c49f09dabc Util: Add PS Vita SFO generator 2022-10-28 00:04:26 -07:00
Vicki Pfau 15e8b20537 Updater: Fix mUpdaterGetUpdateForChannel 2022-10-27 02:24:39 -07:00
Vicki Pfau fcf764e3c6 mGUI: Refactoring out common code 2022-10-22 23:41:24 -07:00
Vicki Pfau 85e66155f2 Vita: Allow loading ROM out of app0 if included 2022-10-22 23:34:28 -07:00
Vicki Pfau 73afc7d7f7 3DS: Allow loading ROM out of romfs if included 2022-10-22 19:33:34 -07:00
Vicki Pfau 75da9f0a94 Qt: Fix Discord Rich Presence if the game title is excessively, extremely, overly, ridiculously, very very long (fixes #2697) 2022-10-19 04:33:03 -07:00
Vicki Pfau 879e7561cc Qt: Keep track of current pslette preset name (fixes #2680) 2022-10-19 04:15:41 -07:00
Vicki Pfau 75155738a5 GB Serialize: Don't write BGP/OBP when loading SCGB state (fixes #2694) 2022-10-18 01:39:15 -07:00
Vicki Pfau ad2a7a748a GB MBC: Add GGB-81 support 2022-10-17 01:31:04 -07:00
Vicki Pfau a305882dba GB MBC: Improve Li Cheng heuristic slightly 2022-10-17 00:59:59 -07:00
Vicki Pfau 153efa253c Qt: Fix e-Reader scanning function reentry (fixes #2693) 2022-10-16 22:14:46 -07:00
Vicki Pfau 1cc32c0785 GB MBC: Split out MBC implementations into files 2022-10-16 03:20:34 -07:00
Vicki Pfau ca0baae821 Debugger: Add more watch-range aliases 2022-10-16 02:13:09 -07:00
bigfarts 42f7876731 Add range watchpoints.
These are accessible via the following new CLI debugger commands:

 - rw: watchr minAddr maxAddr [cond]
 - r: watchr/r minAddr maxAddr [cond]
 - w: watchr/w minAddr maxAddr [cond]
 - c: watchr/c minAddr maxAddr [cond]

This also makes all watchpoints range watchpoints under the hood.

Preliminary benchmark results:

Time taken to run 10000 frames of Megaman Battle Network 1 (U) with a write watchpoint set at 0x02000000 in milliseconds, 10 runs each:

control (no watchpoint):
[4184, 4185, 4197, 4207, 4220, 4178, 4304, 4226, 4234, 4292]
mean = 4223, stdev = 43.95

old (single address watchpoint):
[4743, 4685, 4679, 4670, 4782, 4704, 4698, 4875, 4746, 4718]
mean = 4730, stdev = 61.67

new (range watchpoint):
[4683, 4691, 4693, 4706, 4782, 4674, 4746, 4768, 4770, 4776]
mean = 4728, stdev = 43.36
2022-10-16 02:10:38 -07:00
Vicki Pfau 5415cd72e2 Qt: Update mapper list 2022-10-16 01:30:24 -07:00
Vicki Pfau ffda3e1c9b GB MBC: Add Li Cheng support 2022-10-16 01:28:27 -07:00
Vicki Pfau e370f64801 GB MBC: Add NT (old 2) support 2022-10-15 23:41:51 -07:00
Vicki Pfau 506b9c69be GBA Video: Optimize mode 0 16-color tiles a bit more 2022-10-15 23:01:36 -07:00
Vicki Pfau 1f36728244 GB Serialize: Add missing savestate support for MBC6 and NT (newer) 2022-10-15 04:42:10 -07:00
Vicki Pfau 0bd4ad034e GB MBC: Add NT (old 1) support 2022-10-15 04:13:37 -07:00
Vicki Pfau 47e704d257 Qt: Expand criteria for tag branch names (fixes #2679) 2022-10-14 23:36:20 -07:00
Vicki Pfau d5669c2872 Qt: Manually split filename to avoid overzealous splitting (fixes #2681) 2022-10-14 23:36:06 -07:00
Vicki Pfau ce6e3fad46 Qt: Update translations 2022-10-11 20:28:54 -07:00
Vicki Pfau 959e4bf1e6 Qt: Fix flickering when frame-advancing on Windows 2022-10-11 20:27:49 -07:00
Vicki Pfau 16bcdd0fc3 Updater: Cleanup 2022-10-11 19:52:13 -07:00
Vicki Pfau ded409f0da CMake: Include zip/7z deps for updater 2022-10-11 19:52:02 -07:00
Vicki Pfau ff772fce9d Qt: Attempt to reduce flickering 2022-10-11 19:08:50 -07:00
Vicki Pfau 903f792731 Updater: Log to file 2022-10-11 19:05:47 -07:00
Vicki Pfau ac8c371219 Qt: Fix logged error when starting on Mac 2022-10-11 02:37:12 -07:00
Vicki Pfau d5b66cc7e7 Qt: Actually detach video proxy 2022-10-11 02:36:46 -07:00
Vicki Pfau e1c43b9287 macOS: Disable OpenGL 1.x on newer macOS 2022-10-10 00:11:40 -07:00
Vicki Pfau bf3d31b24e Qt: Don't ship translations that are less than 10% done 2022-10-09 23:57:41 -07:00
Vicki Pfau 9861fd67b0 Qt: Update translations 2022-10-09 23:56:38 -07:00
Felipe 463d157e9f Qt: Update translation (Portuguese (Brazil))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2022-10-09 23:55:27 -07:00
Lothar Serra Mari 330bfbaf42 Qt: Update translation (German)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2022-10-09 23:53:47 -07:00
Allan Nordhøy c76a2340fa Qt: Update translation (Norwegian Bokmål)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/nb_NO/
2022-10-09 23:53:47 -07:00
Daniele Scasciafratte 8232700412 Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2022-10-09 23:53:47 -07:00
Luka Giacco ca17220e27 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-10-09 23:53:47 -07:00
shinyoyo 6585e8b244 Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2022-10-09 23:53:47 -07:00
Hoseok Seo 583e95e45f Qt: Update translation (Korean)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2022-10-09 23:53:47 -07:00
Luna Lyday 04bc011900 Qt: Update translation (Polish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2022-10-09 23:53:47 -07:00
Vicki Pfau 8b887cb0ff Qt: Fix coloration of swatches on styles with distinct frame backgrounds 2022-10-09 23:53:47 -07:00
Vicki Pfau baf5d71f93 Qt: Move Replace ROM option to Emulation menu 2022-10-09 23:53:47 -07:00
Vicki Pfau b8a9baa474 Util: Fix utf8 decoding regression 2022-10-09 23:14:36 -07:00
Vicki Pfau 0c39cae5a2 Util: Fix indentation 2022-10-09 23:05:48 -07:00
Vicki Pfau 8665b28f0d Core: Interrupt timing during reset (fixes #2651) 2022-10-09 22:07:58 -07:00
easyaspi314 a2a888bf10 hle-bios.s: Make initial registers match BIOS state 2022-10-09 21:36:36 -07:00
Vicki Pfau 225369f2b6 GBA Savedata: Fix RTC writing invalidating save mapping 2022-10-08 16:04:50 -07:00
Vicki Pfau 7982de2a4c Vita: Fix keyboard result bounds check 2022-10-06 22:21:38 -07:00
Vicki Pfau 4508797e35 mGUI: Fix cheat max length 2022-10-06 21:38:09 -07:00
Vicki Pfau e7159ac771 GBA Savedata: Fix crash when loading/saving RTC games with no savedata 2022-10-06 14:46:54 -07:00
Vicki Pfau e23d04afc5 GB Memory: Fix bounds of TAMA5 registers in savestates 2022-10-06 03:24:06 -07:00
Vicki Pfau bb711d311f GBA Savedata: Store RTC data in savegames (closes #240) 2022-10-06 02:57:26 -07:00
Vicki Pfau a56bfab48e Qt: Fix OSD being off by default 2022-10-03 23:07:14 -07:00
Vicki Pfau 168c9cb8d6 Debugger: platformCommands should be able to be NULL 2022-10-03 15:55:09 -07:00
Vicki Pfau 9adad40b1c GB Audio: Fix changing channel properties mid-frame (fixes #2655) 2022-10-02 17:18:19 -07:00
Vicki Pfau 1807442577 Scripting: Add documentation for Lua sockets 2022-10-01 22:04:53 -07:00
Vicki Pfau e4a5a3f2db Scripting: Fix value docstrings with newlines 2022-09-29 03:28:26 -07:00
Vicki Pfau 6fc8195177 Scripting: Style nit 2022-09-29 03:12:11 -07:00
Vicki Pfau 91fb63c484 Scripting: Add "internal" marker to classes, exported to docgen 2022-09-29 03:11:59 -07:00
Vicki Pfau 7719dd5ec4 Scripting: Fix member docstrings with newlines 2022-09-29 02:53:37 -07:00
Vicki Pfau 0c33863e66 Qt: Include cheats in bug report 2022-09-28 04:27:45 -07:00
Vicki Pfau 31f798748b VFS: Early return NULL if attempting to map 0 bytes from a file 2022-09-27 05:33:46 -07:00
Vicki Pfau 55c2efa3ea GB: Don't try to map a 0-byte SRAM (fixes #2668) 2022-09-27 05:33:46 -07:00
Vicki Pfau c06d38449d Qt: Fix scripting disabled build 2022-09-26 00:20:37 -07:00
Vicki Pfau a12a391fd1 CMake: Don't include scripting.c in libretro build 2022-09-26 00:16:14 -07:00
Vicki Pfau 8e898b02cc Scripting: Add doc structs and exporting documentation from engines 2022-09-25 17:31:49 -07:00
Vicki Pfau 73d19cc02a Scripting: Add reference to the top-level engine in engine contexts 2022-09-25 17:30:30 -07:00
Vicki Pfau 95336463bf Scripting: Add root scope function for engines 2022-09-25 17:30:30 -07:00
Vicki Pfau 68845e080a Scripting: Const fix 2022-09-25 17:30:30 -07:00
Adam Higerd b60e0b9282 Scripting: Return status from socket.connect, fix coding style 2022-09-25 16:58:46 -07:00
Vicki Pfau d4b3bcde0f Util: More buildfixes 2022-09-21 20:41:40 -07:00
Vicki Pfau 536170c331 Windows: Buildfixes 2022-09-21 20:22:26 -07:00
Vicki Pfau 2912bd2d07 GB: Support CGB0 boot ROM loading 2022-09-21 20:04:56 -07:00
Adam Higerd d852c7c8f0 Scripting: add socket bindings 2022-09-21 20:01:12 -07:00
Vicki Pfau 084b56b3bf GB: Remove faulty debug logging 2022-09-12 00:13:19 -07:00
Vicki Pfau 5dbe240442 Qt: Resume crashed game when loading a save state 2022-09-11 02:51:24 -07:00
Vicki Pfau 83f0deab1b Scripting: Fix some memory leaks 2022-09-10 04:01:38 -07:00
Vicki Pfau 29e1ddbb21 Qt: Fix build on older Qt 2022-09-09 18:29:00 -07:00
Vicki Pfau e87f7b7b68 Qt: Use FFmpeg to convert additional camera formats, if available 2022-09-09 16:38:34 -07:00
Vicki Pfau 550866fcac Libretro: Fix backwards, oversensitive accelerometer (fixes #2635) 2022-09-09 02:27:14 -07:00
Vicki Pfau d95d982ba3 Qt: Don't re-enable updates on xcb 2022-09-09 01:45:33 -07:00
Vicki Pfau 4b0ea00ba1 GBA: Fix 1 MiB ROM mirroring to only mirror 4 times 2022-09-07 20:26:35 -07:00
Vicki Pfau e0b07a6446 GB: Fix HALT breaking M-cycle alignment (fixes #250) 2022-09-04 00:09:14 -07:00
JakobDev c6b25f14a3
Use reverse DNS for LInux data files (#2648) 2022-09-01 02:16:45 -07:00
Vicki Pfau c305c377db GB MBC: Finish TAMA6 timer (non-alarm) emulation 2022-08-31 00:12:33 -07:00
Vicki Pfau 9b35e76416 GB MBC: Add more TAMA6 commands 2022-08-31 00:12:33 -07:00
Vicki Pfau 055d062944 Third-Party: Update zlib and libpng 2022-08-31 00:12:33 -07:00
Vicki Pfau 0b50e7163e GB MBC: Start work on TAMA6 RTC pages 2022-08-28 21:29:10 -07:00
Vicki Pfau 1985713c3a GB MBC: Emulate TAMA6 timer disabling 2022-08-28 19:15:03 -07:00
Vicki Pfau bac42c9027 GB MBC: Partial TAMA5 RTC 2022-08-28 03:53:51 -07:00
Vicki Pfau 2a9f32a840 Qt: Store initial size externally 2022-08-21 01:14:35 -07:00
Vicki Pfau a8dcf87e70 Qt: Enforce minimum size a bit better 2022-08-19 22:50:44 -07:00
Vicki Pfau a3acf4cb1f Qt: Fix cursor hiding/unhiding 2022-08-17 21:29:29 -07:00
Vicki Pfau 6fc656296d Qt: Fix viewport sizing (fixes #2578) 2022-08-17 21:29:13 -07:00
atilluF 0fea8d63fc Qt: Update translation (Italian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2022-08-16 23:03:13 -07:00
Jaime Marquínez Ferrándiz 328fee867f Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-08-16 23:03:13 -07:00
Mikhail Zadorsky e3fb7693e3 Qt: Update translation (Russian)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ru/
2022-08-16 23:03:13 -07:00
shinyoyo ca94e14545 Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2022-08-16 23:03:13 -07:00
Vicki Pfau 8a87eaa395 GB Video: Back out "inaccurate" SGBC hacks 2022-08-16 22:29:10 -07:00
Vicki Pfau feec147f07 Qt: Fix GB colors overrides being broken for games with CGB overrides when set to none 2022-08-16 03:35:44 -07:00
Adam Higerd 8f724d6a1f typo fix in scripting core 2022-08-15 16:23:09 -07:00
Vicki Pfau 368ad24516 Debugger: Fix multiple conditional watchpoints at the same address 2022-08-13 03:41:55 -07:00
Vicki Pfau 3b5fb57013 Qt: Disable updates on xcb too 2022-08-13 03:36:03 -07:00
Vicki Pfau ad32c0f750 GB Audio: Fix regressions 2022-08-07 15:29:10 -07:00
Vicki Pfau 1fb7d7a4a3 GB Audio: Increase sample rate 2022-08-06 23:08:28 -07:00
Vicki Pfau 137f3e5804 Qt: Change lossless setting to use WavPack audio 2022-08-06 18:21:40 -07:00
Vicki Pfau 82ce165211 FFmpeg: Support dynamic audio sample rate 2022-08-06 18:20:36 -07:00
shinyoyo 4247fd0be3 Qt: Update translation (Chinese (Simplified))
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2022-07-26 20:18:55 -07:00
Vicki Pfau 8cc8927bf0 Qt: Update translations 2022-07-19 23:33:59 -07:00
Adam Higerd 527e3dd613 fix misspelling in settings view 2022-07-19 12:43:25 -07:00
Vicki Pfau 04216780c3 Qt: I thought I backed that out 2022-07-17 23:26:08 -07:00
Vicki Pfau a425554d45 Qt: Update translations 2022-07-17 22:48:21 -07:00
Vicki Pfau a0c6573653 Qt: Fix ui namespacing 2022-07-17 22:48:21 -07:00
Vicki Pfau ed5f65f36d Qt: Fix some translator lookups 2022-07-17 22:48:21 -07:00
Vicki Pfau ca484d38b8 Qt: Separate out new Gameplay settings tab 2022-07-17 22:48:06 -07:00
Vicki Pfau e56653319e Qt: Add splitters to scripting view 2022-07-17 21:14:23 -07:00
Vicki Pfau 5db7d95aa2 ARM: Fix some disassembly 2022-07-17 15:56:56 -07:00
Vicki Pfau 4d8700ccb7 Qt: Fix warning 2022-07-14 23:11:10 -07:00
Vicki Pfau 004f317aba GBA Video: Mark framebuffer as dirty if the output texture changes 2022-07-13 19:53:44 -07:00
Vicki Pfau 8997eda005 Revert "Qt: Improve frame pacing, maybe"
This reverts commit 76d6055bb0.
2022-07-13 19:27:38 -07:00
Vicki Pfau ff95aab0b9 Revert "Qt: More Windows frame-pacing fixes"
This reverts commit 5b3fea3038.
2022-07-13 19:27:26 -07:00
Vicki Pfau 65886b02f4 SDL: Fix deadlock if game crashes 2022-07-11 00:24:58 -07:00
Vicki Pfau 91ee9822d1 Qt: Fix crashing on loading a deleted recent script 2022-07-10 17:13:34 -07:00
Vicki Pfau d4d7a3b6b9 Util: Fix ubsan warning 2022-07-10 16:41:13 -07:00
Vicki Pfau b8087c1d97 Test: Fix no-return register ROM tester usage 2022-07-09 05:08:33 -07:00
Vicki Pfau 5ad8907acb Test: Use core register API instead of hardcoding 2022-07-09 04:34:39 -07:00
Vicki Pfau 8c2f2a8649 GB Core: Case-insensitive register name matching 2022-07-09 03:59:04 -07:00
Vicki Pfau 325f59f404 Test: Make logging configuration work with ROM tester 2022-07-09 02:34:39 -07:00
Vicki Pfau 8997055fc0 Core: Migrate SDL logging enhancements into core 2022-07-09 02:34:10 -07:00
Vicki Pfau 01c881d18d Debugger: Minor parser refactoring; fix crash 2022-07-06 23:55:49 -07:00
Vicki Pfau 5b3fea3038 Qt: More Windows frame-pacing fixes 2022-07-04 21:30:14 -07:00
Vicki Pfau 38ae69d54d Qt: Remove broken-on-ninja ts.cmake 2022-07-03 21:17:21 -07:00
Vicki Pfau 0cfaf0a240 Qt: Add more bounds checks to tile selection 2022-07-03 18:53:55 -07:00
Vicki Pfau 76d6055bb0 Qt: Improve frame pacing, maybe 2022-07-03 06:45:50 -07:00
Vicki Pfau 9bcfd248e9 Qt: Fix bounded sync when sync to video is enabled 2022-07-03 06:45:50 -07:00
Vicki Pfau c11392e77a Qt: Early painter abort 2022-07-03 06:45:50 -07:00
Vicki Pfau 2700bf2c97 Qt: Don't attempt to draw a frame if holding an interrupter 2022-07-03 04:19:08 -07:00
Vicki Pfau fa5c5e9601 Scripting: Fix memory domain writing 2022-07-02 22:49:47 -07:00
Vicki Pfau 57880bf674 Core: Add romSize function 2022-07-02 22:49:47 -07:00
Vicki Pfau 71f74d25b0 GBA: Fix 64 MiB GBA Video ROMs 2022-07-02 22:49:47 -07:00
Vicki Pfau 977b184ecb Feature: More warning burndown 2022-07-02 03:17:58 -07:00
Vicki Pfau e03e48f9c6 Scripting: Use return with lua_error so static analysis gets less confused 2022-07-02 03:11:34 -07:00
Vicki Pfau 39886c72f5 Qt: Update translations 2022-07-01 23:57:46 -07:00
Dardo Marasca c71baa0c87 Qt: Update translation (Spanish)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2022-07-01 23:51:16 -07:00
Lothar Serra Mari dcd63f1ceb Qt: Update translation (German)
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2022-07-01 23:51:00 -07:00
Vicki Pfau ae33504577 Core: Fix memory leak when refreshing a directory 2022-07-01 23:42:41 -07:00
Vicki Pfau 7f91cfe58d GBA: Fix some ROM buffer handling issues with oddly sized files 2022-07-01 23:37:50 -07:00
Vicki Pfau dd29e0cad3 Qt: Clean up views 2022-07-01 20:25:25 -07:00
Vicki Pfau d053058ea3 Scripting: Add boolean type 2022-07-01 02:02:55 -07:00
Vicki Pfau fa985d5798 Scripting: Add save state file API 2022-07-01 00:48:18 -07:00
Vicki Pfau 9515de7212 Scripting: Add loading API 2022-07-01 00:34:33 -07:00
Vicki Pfau 84e60e99f4 All: More warning burndown 2022-06-30 05:55:56 -07:00
Vicki Pfau 96c137c1a2 Core: Fix leaks and clean up mDirectorySet 2022-06-30 04:42:58 -07:00
Vicki Pfau 11589d874f Qt: Fix leak when opening a ROM in an archive 2022-06-30 04:42:58 -07:00
Vicki Pfau 68ef5d3a5b GB: Fix replacing the ROM crashing when accessing ROM base 2022-06-30 04:42:58 -07:00
Vicki Pfau 0979380c74 Debugger: Shaving recursive yaks takes a lot of work 2022-06-28 18:43:15 -07:00
Vicki Pfau 1bf1a97023 GBA Video: Fix sprite layer priority updating in GL 2022-06-28 02:23:39 -07:00
Vicki Pfau 2969a8bf7a Core: Fix cache writes that span multiple tiles 2022-06-27 21:10:16 -07:00
Vicki Pfau 5c80fa67ef Qt: Fix Quit role 2022-06-24 22:24:05 -07:00
Vicki Pfau 6629aeebec GBA Video: Fix high tiles rendering wrong on macOS 2022-06-24 21:46:02 -07:00
Vicki Pfau d21da6df2d Qt: Fix crash when calling createBuffer from a callback 2022-06-24 19:01:10 -07:00
Vicki Pfau e8a39fea95 All: Clean up some warnings 2022-06-24 17:48:52 -07:00
Vicki Pfau f3209e1942 Qt: Move scripting classes into folder 2022-06-24 17:25:53 -07:00
Vicki Pfau 5349cab4b2 Qt: Better error checking in mGLWidget 2022-06-24 01:55:52 -07:00
Vicki Pfau b1f1da4f7d Core: Fix warning 2022-06-24 00:53:15 -07:00
Vicki Pfau 1a61da9f83 Qt: Fix warning 2022-06-24 00:53:06 -07:00
ahigerd 1bda318531
Qt: Refactor the script buffer list into a model (#2566) 2022-06-23 23:15:35 -07:00
Vicki Pfau c1b1f72005 Scripting: Fix crashes when functions return null 2022-06-21 16:17:32 -07:00
ahigerd 8d7c040b46
Don't crash when resetting scripting UI (#2564) 2022-06-20 22:48:55 -07:00
Vicki Pfau 0dce8b392a Scripting: Fix test fallout 2022-06-16 23:45:20 -07:00
Vicki Pfau 79506cef72 Scripting: Fix elision of MemoryDomain documentation 2022-06-16 23:40:37 -07:00
Vicki Pfau 840e2806b5 Scripting: Basic void type bringup 2022-06-16 23:40:11 -07:00