Commit Graph

1924 Commits

Author SHA1 Message Date
Vicki Pfau 3f0d06e307 GBA: Unhandled bkpt should be treated as an undefined exception 2023-07-04 04:22:21 -07:00
Vicki Pfau fd84ceddda GBA SIO: Fix normal mode SI/SO semantics (fixes #2925) 2023-07-03 23:14:57 -07:00
Vicki Pfau 747158d5a6 Qt: Add exporting of SAV + RTC GB saves from Save Converter to strip RTC data 2023-07-03 16:08:52 -07:00
Vicki Pfau c5a7b1a9b7 GB Audio: Fix channel 1 restarting if sweep applies after stop (fixes #2965) 2023-06-29 01:28:14 -07:00
Vicki Pfau 491879da95 ARM: Remove obsolete force-alignment in `bx pc` (fixes #2964) 2023-06-26 16:14:25 -07:00
Vicki Pfau 200e846b81 Core: Begin modernizing game override API (fixes #2963) 2023-06-26 04:43:26 -07:00
Vicki Pfau 4d94ab7a38 GB: Prevent incompatible BIOSes from being used on differing models 2023-06-26 04:41:07 -07:00
Vicki Pfau 125db5bbe7 GBA Audio: Fix initial channel 3 wave RAM (fixes #2947) 2023-06-26 00:21:12 -07:00
Vicki Pfau 1c41e1e051 GBA Audio: Fix sample timing drifting when changing sample interval 2023-06-19 22:32:27 -07:00
Vicki Pfau 82f7e52fc6 Qt: Add exporting of SAV + RTC GBA saves from Save Converter to strip RTC data 2023-06-18 15:16:15 -07:00
Vicki Pfau 6561223536 Scripting: Add debugger integration 2023-05-29 00:53:53 -07:00
Vicki Pfau cbc8e4f11a Debugger: Fix writing to specific segment in command-line debugger 2023-05-29 00:53:53 -07:00
May 196f507d3b
[UI bug] mGBA doesn't update savestate screenshots until you move the cursor over other savestates (#2929) 2023-05-23 15:16:46 -07:00
Vicki Pfau b1f991bf94 GB I/O: Read back proper SVBK value after writing 0 (fixes #2921) 2023-05-09 14:51:06 -07:00
Vicki Pfau 36e62c085d GB SIO: Disabling SIO should cancel pending transfers (fixes #2537) 2023-05-08 04:42:52 -07:00
Vicki Pfau eb26b3c387 GBA BIOS: Fix clobbering registers with word-sized CpuSet 2023-04-28 22:48:01 -07:00
Vicki Pfau 65a0b63c82 GB Audio: Fix channels 1/2 staying muted if restarted after long silence 2023-04-28 22:48:01 -07:00
Vicki Pfau ba6865b570 mGUI: Enable auto-softpatching (closes #2899) 2023-04-26 01:05:11 -07:00
Vicki Pfau 4fdebd5dd5 CHANGES: Update for 0.10.2 2023-04-23 22:17:05 -07:00
Vicki Pfau 80a8074608 GBA Video: Fix interpolation issues with OpenGL renderer 2023-04-17 22:23:54 -07:00
Vicki Pfau 5bf048e380 GB Serialize: Add missing Pocket Cam state to savestates 2023-04-13 02:56:12 -07:00
Vicki Pfau e8ef801a3e Vita: Work around broken mktime implementation in Vita SDK (fixes #2876) 2023-04-12 03:33:53 -07:00
Vicki Pfau dfb6055ae4 FFmpeg: Force lower sample rate for codecs not supporting high rates (fixes #2869) 2023-04-07 00:58:41 -07:00
Vicki Pfau 832d0a7c05 Qt: Fix checked state of mute menu option at load (fixes #2701) 2023-03-27 01:09:51 -07:00
Vicki Pfau 3c353b572b Qt: Swap P1 and other player's save if P1 loaded it first (closes #2750) 2023-03-26 23:58:44 -07:00
Vicki Pfau cdb0c4193b GBA Audio: Clear GB audio state when disabled 2023-03-25 04:27:54 -07:00
Vicki Pfau 542792215e GBA Overrides: Fix saving in PMD:RRT (JP) (fixes #2862) 2023-03-24 15:45:21 -07:00
Vicki Pfau e3fbb55854 Scripting: Return proper callback ID from socket.add 2023-03-19 04:59:00 -07:00
Vicki Pfau eb7b90e5d9 Qt: Fix OSD on modern macOS (fixes #2736) 2023-03-17 02:29:47 -07:00
Vicki Pfau fc35395ab8 Core: Handle relative paths for saves, screenshots, etc consistently (fixes #2826) 2023-03-16 23:37:54 -07:00
Vicki Pfau a7c232b284 Qt: Fix black screen when starting with a game (fixes #2781) 2023-03-05 23:56:16 -08:00
Vicki Pfau 59ebf1c12d GB Video: Implement DMG-style sprite ordering 2023-03-03 01:00:26 -08:00
Vicki Pfau e504ac3665 Qt: Fix crash if loading a shader fails 2023-03-01 16:10:43 -08:00
Vicki Pfau ee21eed29c Qt: Fix full-buffer rewind 2023-03-01 15:59:46 -08:00
Vicki Pfau 47941aa0b0 Qt: Automatically change video file extension as appropriate 2023-02-24 03:51:07 -08:00
Vicki Pfau e07684e3ac CHANGES: Update 2023-02-22 20:23:44 -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 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