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
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
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
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
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
e8ef801a3e
Vita: Work around broken mktime implementation in Vita SDK ( fixes #2876 )
2023-04-12 03:33:53 -07:00
Vicki Pfau
1b85fb3de5
Scripting: Fix early freeing of coerced list contents ( fixes #2881 )
2023-04-11 16:27:57 -07:00
Vicki Pfau
3f108aae75
Scripting: Re-fix some Lua string handling ( fixes #2877 )
2023-04-10 03:02:51 -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
b68c714455
FFmpeg: Fix buffer size rounding for audio encoding
2023-04-07 00:58:40 -07:00
Vicki Pfau
a039e2fbef
Core: Fix memory leaks in mCacheSet
2023-04-05 05:06:08 -07:00
Vicki Pfau
03d1ed7778
Qt: More coverity placating
2023-04-05 05:00:16 -07:00
Vicki Pfau
a69f95bcb6
Util: Placate coverity a bit
2023-04-05 04:56:26 -07:00
Vicki Pfau
efcdd29109
GBA e-Reader: Improve error handling in image loading
2023-04-05 04:54:51 -07:00
Vicki Pfau
8c55769afc
Scripting: Fix some Lua string handling
2023-04-05 04:50:26 -07:00
Vicki Pfau
2f54d98ff6
Scripting: Export some system information
2023-04-04 02:20:06 -07:00
Vicki Pfau
9920a609e8
OpenGL: Make backends handle non-zero origin outer frame boundaries
2023-04-04 02:04:59 -07:00
Vicki Pfau
6867b556f3
Scripting: Export image compositing functions
2023-04-03 03:02:08 -07:00
Vicki Pfau
c884560fdb
Util: Add alpha-based mImage compositing functions
2023-04-03 03:00:23 -07:00
Vicki Pfau
cfd5572fb6
Util: Add basic mImage blit with no blending
2023-04-03 01:56:22 -07:00
Vicki Pfau
5b18089e85
Util: Add mRectangleIntersection
2023-04-03 00:39:53 -07:00
Vicki Pfau
329159bddc
Util: Refactor some things that will be used later
2023-04-02 23:23:54 -07:00
Vicki Pfau
2d07a269fc
Core: Add screenshotToImage scripting binding
2023-04-02 03:40:39 -07:00
Vicki Pfau
2fca2f4395
Scripting: Export current image API
2023-04-02 03:39:14 -07:00
Vicki Pfau
ed69b9f741
Scripting: Separate object freeing and deiniting
2023-04-02 03:39:14 -07:00
Vicki Pfau
42527b4c5e
Util: More image creation functions
2023-04-02 03:39:14 -07:00
Vicki Pfau
285f22927b
Util: Reject 0-width/height images
2023-04-01 22:42:44 -07:00
Vicki Pfau
6d719b529a
Util: Add mImage saving
2023-03-31 02:42:01 -07:00
Vicki Pfau
c8ce215d58
Util: Add image format conversion
2023-03-31 02:23:24 -07:00
Vicki Pfau
d62688a0ef
Util: Fix extracting top channel from 565 formats
2023-03-31 02:14:51 -07:00
Vicki Pfau
bd3a3b8360
Util: Fix memory leak in mImageLoadVF
2023-03-31 01:57:08 -07:00
Vicki Pfau
1fd974272c
Scripting: Make functions able to have default arguments
2023-03-31 00:32:02 -07:00
Vicki Pfau
64408b8fd1
Scripting: Tidy up public headers
2023-03-31 00:32:02 -07:00
Vicki Pfau
e80b533549
Scripting: Add read-only struct members
2023-03-31 00:32:02 -07:00
Vicki Pfau
1306cfe15e
Scripting: Add Lua-specific local `script` table for info about the script
2023-03-29 01:25:01 -07:00
Vicki Pfau
4543bcf9de
Scripting: Make mScriptEngineExportDocNamespace take ownership
2023-03-29 01:24:10 -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
7ef8cd961f
Util: Fix non-USE_PNG build
2023-03-27 00:16:26 -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
2cba34d83a
Util: Add image loading API
2023-03-26 17:49:15 -07:00
Vicki Pfau
cdb0c4193b
GBA Audio: Clear GB audio state when disabled
2023-03-25 04:27:54 -07:00
Vicki Pfau
cb0ad844c1
Util: Strip loading 16-bit PNGs down to 8-bit
2023-03-25 01:46:36 -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
a064306916
GB MBC: Fix crash with NT Old 2 if rumble callback isn't installed
2023-03-22 01:47:30 -07:00
Vicki Pfau
e79ae2860b
Util: Start mImage/mColor APIs and tests
2023-03-22 01:42:27 -07:00
Vicki Pfau
646a0e9b33
GBA Memory: Clean up stall function slightly
2023-03-21 21:59:49 -07:00
Vicki Pfau
603c1800d5
Util: Move some image stuff around
2023-03-21 21:59:49 -07:00
Vicki Pfau
e3fbb55854
Scripting: Return proper callback ID from socket.add
2023-03-19 04:59:00 -07:00
Vicki Pfau
ea5db5f72d
Scripting: Fix scalar hashing on different union layouts, e.g. big endian
2023-03-19 03:47:51 -07:00
Vicki Pfau
dfe9177374
Util: Fix test build
2023-03-19 03:29:00 -07:00
Vicki Pfau
9a4cf28776
Util: Namespace geometry structs to avoid conflicts
2023-03-19 03:03:55 -07:00
Vicki Pfau
96d0193136
Merge branch 'feature/canvas'
2023-03-19 02:25:31 -07:00
Vicki Pfau
e3e8296105
OpenGL: Separate sizes of image and drawn layer for image
2023-03-19 02:23:37 -07:00
Vicki Pfau
ce0b1507c3
OpenGL: Fix layers not recentering properly when scale is reduced
2023-03-19 01:24:33 -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
cd0b5193cb
Core: An empty config string is a null config value
2023-03-15 22:44:52 -07:00
Vicki Pfau
434789c6d1
Qt: Placate Coverity a bit
2023-03-14 01:27:19 -07:00
Vicki Pfau
fd0deaaecc
GBA Memory: Play slightly nicer with CSE
2023-03-14 01:11:11 -07:00
Vicki Pfau
fe8b436b41
GDB: Ugh
2023-03-06 14:57:05 -08:00
Vicki Pfau
7386e60ac0
GDB: Enable NODELAY on GDB stub connections
2023-03-06 14:51:22 -08:00
Vicki Pfau
5265573c0c
Qt: Fix buffer termination issue
2023-03-06 00:08:41 -08: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
89f8873df3
GBA Saveata: Fix fumbled check
2023-03-05 14:21:47 -08:00
Vicki Pfau
44fb887737
SDL: Border rendering
2023-03-03 19:25:14 -08:00
Vicki Pfau
48c9261b05
SDL: Refactor use of VideoBackend to slim down GL backends
2023-03-03 19:25:14 -08:00
Vicki Pfau
08f360af90
Qt: Ask the display, not the core, what size it should be
2023-03-03 19:25:14 -08:00
Vicki Pfau
c7e4db58e3
OpenGL: Add basic border rendering to modern GL driver
2023-03-03 19:25:14 -08:00