Commit Graph

8096 Commits

Author SHA1 Message Date
Vicki Pfau ac9ffdd765 Qt: Add a saturateCast template 2023-05-01 22:22:51 -07:00
Vicki Pfau 201f0df4c2 Merge branch 'feature/canvas' 2023-05-01 21:40:57 -07:00
Vicki Pfau 2b3855f2e4 Res: Add a bouncing logo demo script 2023-05-01 21:38:30 -07:00
Vicki Pfau 55dd3e28db Scripting: Add canvas internal scaling factor 2023-05-01 21:38:30 -07:00
Vicki Pfau 428a29dae3 Qt: Expose DisplayQt as a VideoBackend 2023-05-01 21:38:30 -07:00
Vicki Pfau dda5634189 Scripting: Add canvas API 2023-05-01 21:38:30 -07:00
Vicki Pfau 18d0ad6ff9 Qt: Just don't tear down proxy ring FIFO until the object is destroyed 2023-05-01 21:38:30 -07:00
Vicki Pfau 399ace760c Qt: Hook up proxy backend to DisplayGL 2023-05-01 21:38:30 -07:00
Vicki Pfau dc6639b30b Video: Add backend call proxying for cross-thread interaction 2023-05-01 21:38:30 -07:00
Vicki Pfau 90420586e6 OpenGL: Fix GL1 overlay drawing 2023-05-01 21:38:30 -07:00
Vicki Pfau 2e5751ef6f OpenGL: Fix GLES2 overlay drawing 2023-05-01 21:38:30 -07:00
Vicki Pfau 0b79184bf3 Scripting: Add lambdas that bind an object method call 2023-05-01 21:38:30 -07:00
Vicki Pfau b8261a0c66 Scripting: Add lambdas with 0 arguments and 0 return values 2023-05-01 21:38:30 -07:00
Vicki Pfau 44ab21ab35 Scripting: Allow callbacks to access weakrefs 2023-05-01 20:44:23 -07:00
Martin Murtiono c9585b8abe
Qt: Make rewind speed adjustable (#2902) 2023-04-29 00:36:01 -07:00
sam-gupta-git a7ffcee399
Qt: Add shortcuts to increment fast forward speed (#2903)
Co-authored-by: Vicki Pfau <vi@endrift.com>
2023-04-29 00:33:16 -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 75910bcdab Qt: Add QPA info to report view 2023-04-28 22:48:01 -07:00
Adam Higerd 6dbd977c73 Scripting: shim print()/warn() in Lua 2023-04-26 21:08:42 -07:00
Vicki Pfau ba6865b570 mGUI: Enable auto-softpatching (closes #2899) 2023-04-26 01:05:11 -07:00
Vicki Pfau 622c2491b9 Debugger: Reject traces with negative trace amounts (fixes #2900) 2023-04-26 00:48:12 -07:00
Vicki Pfau 3a59d9cb83 Res: Add script for doing fake analog input by PWM-ing the d-pad 2023-04-25 03:24:03 -07:00
Vicki Pfau 4fdebd5dd5 CHANGES: Update for 0.10.2 2023-04-23 22:17:05 -07:00
Vicki Pfau bd880335a8 Res: Update no-intro 2023-04-23 21:15:00 -07:00
Vicki Pfau ae75abb8fa Qt: Only disable swapInterval when fast-forwarding 2023-04-23 20:08:48 -07:00
Vicki Pfau 85aaa6c3c5 GB, GBA Audio: Clamp audio buffer size to 8192 2023-04-23 20:00:43 -07:00
Vicki Pfau 03dd7d70b4 Res: Update Patrons for April 2023-04-21 01:45:15 -07:00
Vicki Pfau 8739b22fbc Qt: Detect Wayland as EGL 2023-04-20 20:12:53 -07:00
Vicki Pfau 420da428bd Qt: Cleaner type punning 2023-04-20 20:11:43 -07:00
Vicki Pfau 5f6948351b Feature: Move video-backend.c to a sensible place 2023-04-19 05:35:36 -07:00
Vicki Pfau 727ba5b2f2 Qt: Rip out OpenGL proxy thread 2023-04-18 21:22:10 -07:00
Vicki Pfau 7337edb82a Qt: Manually toggle swap interval as needed 2023-04-18 21:22:10 -07:00
Vicki Pfau 133ed11cab GBA Video: Don't repeat yourself 2023-04-18 02:18:49 -07:00
Vicki Pfau 2c84689345 Util: Improve mImageLoadPNG memory cleanup 2023-04-17 22:31:03 -07:00
Vicki Pfau 80a8074608 GBA Video: Fix interpolation issues with OpenGL renderer 2023-04-17 22:23:54 -07:00
Vicki Pfau 9fa607b30f Util: More palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau 618a51cabb Util: Preliminary palette support 2023-04-17 04:37:36 -07:00
Vicki Pfau f8b923015b Util: Add grayscale mImage loading 2023-04-17 04:37:36 -07:00
Vicki Pfau 65f04ee408 Util: PNGWrite*A is dead, long live PNGWrite* 2023-04-17 04:37:36 -07:00
David Spickett 225456a39c Debugger: Send flags information for cpsr register
There is a feature of target XML called flags. It allows
you to describe what a register contains.

https://sourceware.org/gdb/onlinedocs/gdb/Target-Description-Format.html

GDB has supported this for a long time and I recently added support
in LLDB:
e07a421dd5

This change adds this flags information for the cpsr register of the ARM7TDMI.
Based on the information in https://developer.arm.com/documentation/ddi0210/c/.

This is what it looks like when using GDB:
```
(gdb) info registers
r0             0x0                 0
<...>
cpsr           0x6000001f          [ Z C M=31 ]
```
And LLDB:
```
(lldb) register read cpsr
    cpsr = 0x6000001f
         = (N = 0, Z = 1, C = 1, V = 0, I = 0, F = 0, T = 0, M=31)
```

(the format is up to the debugger, lldb is a lot more verbose at the moment)

To enable this I have increased the GDB stub's outgoing buffer to 1400 bytes.
The target XML is just above 130 bytes with the flags added.
2023-04-15 01:30:35 -07:00
Vicki Pfau fd0f24d01e macOS: Declare camera usage in Info.plist 2023-04-14 18:26:38 -07:00
Vicki Pfau 5bf048e380 GB Serialize: Add missing Pocket Cam state to savestates 2023-04-13 02:56:12 -07:00
Vicki Pfau b876f13cb2 VFS: Actually fflush sync when doing writeback 2023-04-13 02:29:27 -07:00
Vicki Pfau edc0828437 CMake: Actually bother using -fwrapv 2023-04-13 02:16:39 -07:00
Vicki Pfau 77a4fbf439 Res: Code cleanup 2023-04-13 02:09:12 -07:00
Vicki Pfau f40222f0ee Core: Code cleanup 2023-04-13 02:09:12 -07:00
Vicki Pfau fca0505f38 3DS: Code cleanup 2023-04-12 22:45:22 -07:00
Vicki Pfau cd720fc6d8 .gitignore: Update 2023-04-12 22:31:07 -07:00
Vicki Pfau e8ef801a3e Vita: Work around broken mktime implementation in Vita SDK (fixes #2876) 2023-04-12 03:33:53 -07:00