Commit Graph

1937 Commits

Author SHA1 Message Date
Adam Higerd 033efff86e hook frame callback in socket connect 2023-02-12 13:28:34 -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 123532ed6e Scripting: Add `callbacks:oneshot` for single-call callbacks 2023-02-08 19:14:36 -08:00
Vicki Pfau 0cc66867ca CHANGES: Add storage API mention 2023-02-08 02:38:37 -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 92d86af955 GBA SIO: Fix SIOCNT SI pin value after attaching player 2 (fixes #2805) 2023-01-30 20:48:39 -08:00
Vicki Pfau d08b307be0 CHANGES: Add input API 2023-01-30 00:23:01 -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 5b170b003a Qt: Stop eating boolean action key events (fixes #2636) 2023-01-29 01:44:14 -08:00
Vicki Pfau ff6c74397a CHANGES: Wrong bug report 2023-01-28 22:40:57 -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 7bd0e91735 Qt: Fix savestate preview sizes with different scales (fixes #2560) 2023-01-28 17:49:00 -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 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 0d0e92ce59 GBA Memory: Make VRAM access stalls only apply to BG RAM 2023-01-16 00:09:35 -08:00
TheMechasaur fff9d1264e Correct year of release date of 0.10.1 to 2023 (#2783) 2023-01-12 15:11:57 -08:00
Vicki Pfau 5bb12f9238 CHANGES: Update for 0.10.1 2023-01-12 15:09:10 -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 0a4cafcd57 GB BIOS: Include timing in degenerate ArcTan2 cases (fixes #2763) 2022-12-29 20:40:56 -08:00
Vicki Pfau 1b9671bf21 GBA Cheats: Fix issues detecting unencrypted cheats (fixes #2724) 2022-12-22 16:02:12 -08:00
CasualPokePlayer 0ac446beda
Check gba->mbVf for force skipping the BIOS (#2754) 2022-12-16 22:12:24 -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 e9ec009836 GB Audio: Fix channel 3 volume being changed between samples (fixes #1896) 2022-12-07 01:21:21 -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 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 0271f12280 CHANGES: Spill chicken 2022-11-12 00:45:25 -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
Luna Mittelbach 694b80d289
GBA: Verify ELF entrypoint against ROM header (#2714) 2022-11-05 01:44:29 -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 981d01134b macOS: Fix modern build with libepoxy (fixes #2700) 2022-10-20 20:11:19 -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 153efa253c Qt: Fix e-Reader scanning function reentry (fixes #2693) 2022-10-16 22:14:46 -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 e370f64801 GB MBC: Add NT (old 2) support 2022-10-15 23:41:51 -07:00
Vicki Pfau 74358521ab macOS: Add category to plist (closes #2691) 2022-10-15 16:47:49 -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 5067eb621c Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes #2685) 2022-10-14 21:34:32 -07:00
Vicki Pfau 686eee4e20 Changes: Update for 0.10.0 2022-10-11 20:30:00 -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 bb711d311f GBA Savedata: Store RTC data in savegames (closes #240) 2022-10-06 02:57:26 -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 2912bd2d07 GB: Support CGB0 boot ROM loading 2022-09-21 20:04:56 -07:00
Vicki Pfau 5dbe240442 Qt: Resume crashed game when loading a save state 2022-09-11 02:51:24 -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 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
Vicki Pfau bac42c9027 GB MBC: Partial TAMA5 RTC 2022-08-28 03:53:51 -07:00
Vicki Pfau 368ad24516 Debugger: Fix multiple conditional watchpoints at the same address 2022-08-13 03:41:55 -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
Vicki Pfau 5db7d95aa2 ARM: Fix some disassembly 2022-07-17 15:56:56 -07:00
Vicki Pfau 0cfaf0a240 Qt: Add more bounds checks to tile selection 2022-07-03 18:53:55 -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 4851109027 Core: Add wallclock offset RTC type 2022-06-16 21:57:45 -07:00
Vicki Pfau 85737f1103 SDL: Support exposing an axis directly as the gyro value (closes #2531) 2022-06-14 20:15:26 -07:00
Vicki Pfau f7d8b77bd4 GB MBC: Fix edge case with Pocket Cam register accesses (fixes #2557) 2022-06-14 15:15:11 -07:00
Vicki Pfau 7f453ce202 GBA Video: Fix horizontal lines in GL when charbase is changed (fixes #1631) 2022-06-14 00:13:51 -07:00
Vicki Pfau 9ac6096c3d GB SIO: Fix bidirectional transfer starting (fixes #2290) 2022-06-09 21:10:27 -07:00
Vicki Pfau ae0c5e91aa Qt: Simplify Window drawing (fixes #2190) 2022-06-08 15:32:42 -07:00
Vicki Pfau 7a07b148cb GBA Video: Fix OBJ tile wrapping with 2D char mapping (fixes #2443) 2022-06-08 00:15:52 -07:00
Vicki Pfau f9e03e7182 GBA Memory: Implement adjustable EWRAM waitstates (closes #1276) 2022-06-07 00:05:27 -07:00
Vicki Pfau fda7f83855 GB I/O: Fix writing to WAVE RAM behavior (fixes #1334) 2022-06-06 22:57:45 -07:00
Vicki Pfau 00421cd046 GB Audio: Fix APU re-enable timing glitch 2022-06-06 22:35:35 -07:00
Vicki Pfau 11837ffc15 ARM: Disassemble Thumb mov pseudo-instruction properly 2022-06-05 20:59:30 -07:00
Vicki Pfau 3c0d9f7197 GBA Audio: Sample FIFOs at SOUNDBIAS-set frequency 2022-06-01 19:13:05 -07:00
Vicki Pfau cbbcf7478e GBA Audio: Adjust PSG sampling rate with SOUNDBIAS 2022-06-01 02:15:07 -07:00
Vicki Pfau cbbaa42641 CHANGES: Update 2022-06-01 02:15:07 -07:00
Vicki Pfau 6fd3bfb86b Qt: Fix preloading for ROM replacing 2022-05-29 20:39:09 -07:00
Vicki Pfau 0c02f2798a GBA Video: Fix sprites with mid-frame palette changes in GL (fixes #2476) 2022-05-29 18:49:40 -07:00
Vicki Pfau 511a12c507 GBA Video: Fix highlighting for sprites with mid-frame palette changes 2022-05-29 18:46:34 -07:00
Vicki Pfau b6ec54dadf Merge branch 'feature/scripting' 2022-05-29 13:29:20 -07:00
Vicki Pfau 469ce5d145 Update CHANGES and README 2022-05-29 02:44:17 -07:00
Vicki Pfau 21e2ccb025 Qt: Improve cheat parsing (fixes #2297) 2022-05-28 15:04:18 -07:00
Vicki Pfau c6d7c40dfc GBA: Fix booting multiboot ROMs with no JOY entrypoint 2022-05-24 20:51:36 -07:00
Vicki Pfau 8f133caec8 Debugger: Add command to load external symbol file (fixes #2480) 2022-05-01 22:29:31 -07:00
Vicki Pfau 492ba2478c Core: Fix crash if library can't be opened 2022-05-01 17:02:50 -07:00
Vicki Pfau dcdd6d2dd2 GB Audio: Properly apply per-model audio differences 2022-04-22 02:59:15 -07:00
Vicki Pfau f326d02e33 Qt: Boot both a multiboot image and ROM with CLI args (closes #1941) 2022-04-21 22:09:46 -07:00
Vicki Pfau ce7e53d53d Qt: Add e-Card passing to the command line (closes #2474) 2022-04-21 19:41:49 -07:00
Vicki Pfau 5b7780620d Qt: Fix crash when clicking past last tile in viewer 2022-04-12 22:23:15 -07:00
Vicki Pfau 969d36d296 CHANGES: Remove bug that wasn't actually fixed 2022-04-03 16:02:14 -07:00
Vicki Pfau cb0b47406f GB MBC: Filter out MBC errors when cartridge is yanked (fixes #2488) 2022-04-03 15:55:34 -07:00
Vicki Pfau 3d65b4b4aa CHANGES: Update 2022-04-03 15:33:25 -07:00
Vicki Pfau 5418bb066f Debugger: Add callback for updating while the runloop is suspended; use for GDB 2022-03-27 02:33:32 -07:00
Vicki Pfau 739d842129 GB Audio: Fix channel 1/2 reseting edge cases (fixes #1925) 2022-03-07 18:36:24 -08:00
Vicki Pfau 467c620abc mGUI: Autosave less frequently when fast-forwarding 2022-02-27 21:18:10 -08:00
Vicki Pfau c284506c1b mGUI: Fix FPS counter after closing menu 2022-02-27 21:17:06 -08:00
Vicki Pfau 64d8dd1b69 GBA Cheats: Implement "never" type codes (closes #915) 2022-02-22 19:40:21 -08:00
Vicki Pfau 91911fe092 GBA: Refine multiboot detection (fixes #2192) 2022-02-20 21:05:12 -08:00
Vicki Pfau 5b26099eac Qt: Show warning if XQ audio is toggled while loaded (fixes #2295) 2022-02-20 20:37:22 -08:00
Vicki Pfau 7c8a06816b GBA Video: Implement layer placement for OpenGL renderer (fixes #1962) 2022-02-20 19:45:13 -08:00
Vicki Pfau 5f3cb2f72f Vita: Add bilinear filtering option (closes #344) 2022-02-20 04:26:16 -08:00
Vicki Pfau 4ae540b387 Debugger: Save and restore CLI history 2022-02-20 03:49:59 -08:00
Vicki Pfau 66f445cd0a GBA: Fix expected entry point for multiboot ELFs (fixes #2450) 2022-02-18 22:14:16 -08:00
Vicki Pfau ad00b2f883 Core: Fix the runloop resuming after a game has crashed (fixes #2451) 2022-02-18 22:09:14 -08:00
Vicki Pfau 751ab434f4 Qt: Add tile range selection to tile viewer, modernize layout (closes #2455) 2022-02-18 21:26:45 -08:00
Vicki Pfau cf06497456 GBA DMA: Enhanced logging (closes #2454) 2022-02-18 20:31:52 -08:00
Vicki Pfau 4312ce14ff Util: Failed file mapping should return NULL on POSIX 2022-02-16 23:16:48 -08:00
Vicki Pfau e15911891c 3DS: Ensure writes update file modification time (fixes #2444) 2022-02-14 20:31:59 -08:00
Vicki Pfau 4f94849728 GBA: Automatically skip BIOS if ROM has invalid logo 2022-02-10 18:26:08 -08:00
Vicki Pfau 8ac1ece17a GB: Support for GBX ROMs 2022-02-10 14:25:21 -08:00
Vicki Pfau 0676769b68 GB MBC: Sachen MMC2 support 2022-02-08 18:36:12 -08:00
Vicki Pfau a5976e6c34 GB MBC: Sachen MMC1 support 2022-02-07 22:20:46 -08:00
Vicki Pfau 6c84f43c22 GB: Copy logo from ROM if not running the BIOS intro (fixes #2378) 2022-02-07 04:02:37 -08:00
Vicki Pfau d33471e117 GB MBC: Add NT (new) support (closes #2435) 2022-02-06 21:44:55 -08:00
Vicki Pfau 26aea8544f GB MBC: Initial HuC-3 save format 2022-02-04 23:48:27 -08:00
Vicki Pfau c829cd2e70 GB MBC: Improved support for HuC-3 mapper 2022-02-04 02:32:07 -08:00
Vicki Pfau e2040146ea Qt: Enable -b for Boot BIOS menu option (fixes #2074) 2022-02-04 02:32:07 -08:00
Vicki Pfau 73efec2a02 GBA Video: Fix rare crash in modes 3-5 2022-02-04 02:32:07 -08:00
Vicki Pfau 667dffe515 Qt: Support for multiple saves per game using .sa2, .sa3, etc. 2022-01-30 17:49:37 -08:00
Vicki Pfau d071bffe0a GBA Video: Fix Hblank timing (fixes #2131, #2310) 2022-01-26 18:26:56 -08:00
Vicki Pfau 1d8141e1fd GB Serialize: Fix loading MBC1 states that affect bank 0 (fixes #2402) 2022-01-22 18:12:58 -08:00
Vicki Pfau 6f4398a3b9 GBA BIOS: Initial HLE timing estimation of UnLz77 functions (fixes #2141) 2022-01-22 18:12:58 -08:00
Vicki Pfau d1bc394ca3 GBA Video: Ignore horizontally off-screen sprite timing (fixes #2391) 2022-01-22 04:34:48 -08:00
Vicki Pfau 8a310dcfed FFmpeg: Fix GIF recording (fixes #2393) 2022-01-20 23:49:56 -08:00
Vicki Pfau fff87985fe GB, GBA: Save writeback-pending masked saves on unload (fixes #2396) 2022-01-20 22:30:04 -08:00
Vicki Pfau ee68e9742d GB: Fix temporary saves 2022-01-20 22:30:04 -08:00
Vicki Pfau ddca55347e GBA Video: Fix OpenGL rendering on M1 Macs 2022-01-19 23:06:19 -08:00
Vicki Pfau b6e2faaba9 Qt: Add QOpenGLWidget cross-thread codepath for macOS (fixes #1754) 2022-01-19 19:36:21 -08:00
Vicki Pfau 851b01be15 Qt: Add optional emulation-related information on reset (closes #1780) 2022-01-17 01:55:08 -08:00
Vicki Pfau 006dba7d69 Qt: Add optional frame counter to OSD (closes #1728) 2022-01-17 01:55:08 -08:00
Vicki Pfau 9b6b7c7392 GBA DMA: Fix DMA source direction bits being cleared (fixes #2410) 2022-01-15 20:32:50 -08:00
Vicki Pfau 76438391a1 Windows: Attach to console if present 2022-01-14 01:09:45 -08:00
Vicki Pfau 881dd11bf2 GB Video: Add default SGB border 2022-01-13 21:51:53 -08:00
Vicki Pfau 70f75bba49 GB Video: Draw SGB border pieces that overlap GB graphics (fixes #1339) 2022-01-13 18:07:01 -08:00
Vicki Pfau d96a19420d GBA I/O: Disable open bus behavior on invalid register 06A 2022-01-04 16:43:30 -08:00