Commit Graph

7908 Commits

Author SHA1 Message Date
nia ef9c5bd096 Scripting: Check for ENOTRECOVERABLE
It's part of "robust mutexes" and may not necessarily be available
(e.g. on NetBSD 9)
2023-11-24 22:29:08 -08:00
Vicki Pfau 5ecce03fba FFmpeg: Fix deprecation warnings 2023-11-06 23:16:37 -08:00
Vicki Pfau 0b003fe230 GBA Audio: Only read MP2k context addresses if valid 2023-10-29 17:11:01 -07:00
Vicki Pfau a362317f46 CMake: Fix DEFAULT_LTO 2023-10-29 17:08:04 -07:00
leo60228 73ac3dad4f Debugger: Advertise QStartNoAckMode support 2023-10-29 17:08:04 -07:00
leo60228 1d4bf372b8 Debugger: Fix off-by-one breaking StartNoAckMode 2023-10-29 17:08:04 -07:00
Vicki Pfau da8f4f28f3 Wii: Fix build 2023-09-27 20:24:40 -07:00
David Spickett 35cdd5d242 Debugger: Correct PC value when read with 'p' instead of 'g' packet
The 'g' packet is handled by _readGPRs which has a special case for
the PC due to the way the CPU reports the PC value.

This was added by added by a967f9aac4.

The 'p' packet is handled by _readRegister which did not have this
special case for PC. This lead to GDB reporting the correct PC value
but LLDB not, as the latter used 'p' instead.

This meant you saw things like this:
    0x80002a4 <+16>: str    r0, [sp, #0x4]
    0x80002a8 <+20>: bl     0x80001f0      <----------expected to be here.
->  0x80002ac <+24>: b      0x80002b0

Where you expected to be about to bl to another function,
but it looked like you had already done it.

And more obviously, when you first attached to the GDB stub,
the PC was reported as 4 not 0.
2023-09-27 20:24:40 -07:00
Vicki Pfau d2205d3475 Scripting: Enhance error reporting 2023-09-27 20:24:40 -07:00
Vicki Pfau 404e84b045 Scripting: Simplify console implementation 2023-09-27 20:24:40 -07:00
Vicki Pfau 31235a6b2c Scripting: Fix console error log level 2023-09-16 01:37:11 -07:00
Vicki Pfau 0fb8b782be GB Core: Fix exported size information 2023-09-16 01:36:15 -07:00
Vicki Pfau c5dc97a432 GBA: Make sure unloading a ROM frees the AGBPrint buffer 2023-09-16 01:36:10 -07:00
Vicki Pfau 9adb1faef2 Qt: SaveConverter doesn't use the controller 2023-09-16 01:35:34 -07:00
Vicki Pfau 9b98a19a37 Core: Fix potential UAF when loading a ROM in a VDir 2023-09-16 01:35:23 -07:00
Vicki Pfau ddee0af216 GBA Core: Fix Flash 1M memory block descriptor 2023-09-16 01:34:29 -07:00
Vicki Pfau 35bbc74cc2 Vita: Fix camera setting not appearing (fixes #3012) 2023-08-28 13:29:24 -07:00
Vicki Pfau 510d1afa4a GBA Audio: Fix sample position issues when rate changes (fixes #3006) 2023-08-23 14:35:50 -07:00
Vicki Pfau d6291bcc05 Qt: Fix mute settings not being loaded on setting screen (fixes #2990) 2023-08-08 19:34:35 -07:00
shenef e86e9d0c76 Qt: Mark video encoding options as untranslatable 2023-08-05 16:34:56 -07:00
Vicki Pfau cda008eef5 Qt: Re-enable sync for multiplayer windows that aren't connected (fixes #2974) 2023-08-04 23:20:39 -07:00
Vicki Pfau fcb2f11464 GUI: Add missing include 2023-07-23 22:49:59 -07:00
Vicki Pfau eb2233eaaa GBA GPIO: Fix tilt scale and orientation (fixes #2703) 2023-07-23 22:49:55 -07:00
Vicki Pfau 1d37620c8c Updater: Fix overwriting directories with files 2023-07-18 01:43:07 -07:00
Vicki Pfau 1ec45502fb FFmpeg: Fix isampleRate initialization 2023-07-17 21:37:37 -07:00
Vicki Pfau 1dc94c999a Qt: Fix leak if loading a save file fails 2023-07-17 21:36:23 -07:00
Vicki Pfau afb614ad03 ARM: Fake bpkt instruction should take no cycles (fixes #2551) 2023-07-05 22:11:59 -07:00
Vicki Pfau a51cb3f921 GBA SIO: Fix normal mode SI/SO semantics (fixes #2925) 2023-07-03 23:15:47 -07:00
Vicki Pfau 1acb7dfa9e Qt: Add exporting of SAV + RTC GB saves from Save Converter to strip RTC data 2023-07-03 16:10:35 -07:00
Vicki Pfau b06c22a408 GB Audio: Force update channels 1/2 if updating from a register write 2023-07-03 16:10:05 -07:00
Vicki Pfau 2669e0f772 GB Audio: Update channels 1/2 irregularly if silent 2023-07-03 16:10:05 -07:00
Vicki Pfau 87c9d3851e ARM: Remove obsolete force-alignment in `bx pc` (fixes #2964) 2023-06-29 01:29:55 -07:00
Vicki Pfau 0d353a740f GB Audio: Fix channel 1 restarting if sweep applies after stop (fixes #2965) 2023-06-29 01:29:38 -07:00
Vicki Pfau 72379168cb GB: Add missing CGB0 BIOS to model detection 2023-06-26 04:45:59 -07:00
Vicki Pfau 76fe63a254 GBA Audio: Fix initial channel 3 wave RAM (fixes #2947) 2023-06-26 04:45:59 -07:00
Vicki Pfau 24f3d8808f GBA Audio: Fix sample timing drifting when changing sample interval 2023-06-19 22:38:38 -07:00
Vicki Pfau 6c4ca7724f Qt: Add exporting of SAV + RTC GBA saves from Save Converter to strip RTC data 2023-06-18 15:18:34 -07:00
Vicki Pfau 276e911e38 Qt: Reduce minimum size of GB palette color pickers 2023-06-13 16:08:11 -07:00
Vicki Pfau e49fe46c26 Qt: Attempt to shorten Game Boy settings pane 2023-06-13 16:08:08 -07:00
Vicki Pfau 724b79b035 Scripting: Fix build against Lua 5.2 2023-06-04 20:31:04 -07:00
Vicki Pfau c37949fee7 Core: Only attempt to open symbol file if basedir exists 2023-06-04 20:30:47 -07:00
May d99f7b9912 [UI bug] mGBA doesn't update savestate screenshots until you move the cursor over other savestates (#2929) 2023-06-04 20:30:35 -07:00
Vicki Pfau 97162280f9 GB I/O: Read back proper SVBK value after writing 0 (fixes #2921) 2023-05-09 14:51:47 -07:00
Vicki Pfau 84d600cba6 GB SIO: Disabling SIO should cancel pending transfers (fixes #2537) 2023-05-08 04:43:54 -07:00
Vicki Pfau 21cfb15f99 mGUI: Make "bios" name check case-insensitive 2023-05-08 04:43:36 -07:00
Vicki Pfau ff3c68bbd6 GBA BIOS: Fix clobbering registers with word-sized CpuSet 2023-04-28 22:47:11 -07:00
Vicki Pfau 5f762e68b8 GB Audio: Fix channels 1/2 staying muted if restarted after long silence 2023-04-28 19:35:45 -07:00
Vicki Pfau 5a94780871 Debugger: Reject traces with negative trace amounts (fixes #2900) 2023-04-26 00:49:45 -07:00
Vicki Pfau 078ce85774 CMake: Bump version 2023-04-26 00:49:45 -07:00
Vicki Pfau 2fb5545061 CHANGES: Update for 0.10.2 2023-04-23 21:15:24 -07:00