Commit Graph

7166 Commits

Author SHA1 Message Date
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