Vicki Pfau
17dbdcf57c
Qt: Change Action* semantics to std::shared_ptr<Action>
2023-08-18 21:30:33 -07:00
Vicki Pfau
3ee12b1a55
Qt: Ensure action set is clean before (re)building
2023-08-18 21:28:43 -07:00
Vicki Pfau
6e65b70c32
Qt: Fix input-related Qt 6 build errors
2023-08-18 20:17:19 -07:00
Vicki Pfau
f5a6906ef8
Qt: Fix display-related Qt6 build errors
2023-08-18 20:12:18 -07:00
Vicki Pfau
f637b5b1e8
Util: Fix warning when libpng is disabled
2023-08-10 12:43:39 -07:00
Vicki Pfau
bbdcb8b83b
Scripting: Fix rounding warning
2023-08-10 12:17:44 -07:00
Vicki Pfau
56d21feb10
OpenGL: Fix warnings
2023-08-10 12:17:44 -07:00
Vicki Pfau
19e44d59d0
Util: Fix warnings
2023-08-10 12:06:29 -07:00
Vicki Pfau
f96ba8c1aa
ARM: Fix warning
2023-08-10 11:58:05 -07:00
Vicki Pfau
6a317779c8
Qt: Fix mute settings not being loaded on setting screen ( fixes #2990 )
2023-08-08 19:34:10 -07:00
Vicki Pfau
0cd50cae8c
Qt: Fix crash entering commands into detached debugger ( fixes #2987 )
2023-08-06 22:38:45 -07:00
Vicki Pfau
1bb8d52e16
Qt: Fix gdb at startup ( fixes #2986 )
2023-08-05 17:58:12 -07:00
shenef
fdfa73a7f5
Qt: Mark video encoding options as untranslatable
2023-08-05 16:33:22 -07:00
Vicki Pfau
fc1bfb9c73
Qt: Remove maligned double-click-to-fullscreen shortcut ( closes #2632 )
2023-08-05 12:47:14 -07:00
Vicki Pfau
b0977cef94
Qt: Re-enable sync for multiplayer windows that aren't connected ( fixes #2974 )
2023-08-04 23:19:29 -07:00
Vicki Pfau
189fce016f
Scripting: Fix typo
2023-08-04 21:35:50 -07:00
Vicki Pfau
3574f1cc6b
Scripting: Export mPainter class
2023-08-03 19:32:27 -07:00
Vicki Pfau
3d0c982d6e
Scripting: Add handling of wrapper type specification in function signatures
2023-08-03 19:32:04 -07:00
Vicki Pfau
09b7eea127
Script: Add mScriptContextInvoke for context-specific invocation and thread handling
2023-08-02 23:41:40 -07:00
Vicki Pfau
5534d23690
Updater: Fix existing directory update logic
2023-07-31 18:23:08 -07:00
Vicki Pfau
ec52154112
Qt: Fix uninitialized members
2023-07-29 18:33:06 -07:00
Vicki Pfau
8b4818c3d8
OpenGL: Fix uninitialized context dimensions
2023-07-29 18:32:55 -07:00
Vicki Pfau
0457b1bcb7
Util: Shape drawing fixes, better tests
2023-07-29 14:13:55 -07:00
Vicki Pfau
fe229348eb
Qt: Update translations
2023-07-28 13:00:34 -07:00
Felipe
abd7ccbb1f
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2023-07-28 12:56:26 -07:00
Davi Lopes
9a8ab700f7
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2023-07-28 12:55:32 -07:00
Felipe
5b38c0f398
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2023-07-28 12:55:32 -07:00
shinyoyo
fd6a4161ac
Qt: Update translation (Chinese (Simplified))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2023-07-28 12:53:25 -07:00
Luna Lyday
6c55c26082
Qt: Update translation (Polish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2023-07-28 12:53:25 -07:00
raid273
92d7c1a1d1
Qt: Update translation (Japanese)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ja/
2023-07-28 12:53:25 -07:00
ssantos
8c0b9f6d06
Qt: Added translation (Portuguese)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt/
2023-07-28 12:53:25 -07:00
Lothar Serra Mari
b5c1330528
Qt: Update translation (German)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2023-07-28 12:49:39 -07:00
Guih48
5fb0ae88a7
Qt: Update translation (Hungarian)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/hu/
2023-07-28 12:48:46 -07:00
gallegonovato
1ee7b70194
Qt: Update translation (Spanish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2023-07-28 12:48:33 -07:00
Hoseok Seo
652b078aab
Qt: Update translation (Korean)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2023-07-28 12:48:06 -07:00
Vicki Pfau
57ba653bc7
Util: Add mPainterDrawCircle
2023-07-27 20:26:25 -07:00
Vicki Pfau
ba49175697
Util: Add mPainterDrawLine
2023-07-24 21:01:01 -07:00
Vicki Pfau
4ca8ffe3f4
Updater: Fix MSVC build
2023-07-24 19:21:43 -07:00
Vicki Pfau
9742722213
GUI: Add missing include
2023-07-23 22:48:30 -07:00
Vicki Pfau
02ba4f2499
GBA GPIO: Fix tilt scale and orientation ( fixes #2703 )
2023-07-23 22:47:47 -07:00
Vicki Pfau
5f35899ba3
Util: Start mPainter bringup with rectangle drawing
2023-07-23 21:43:15 -07:00
Vicki Pfau
369eab8da3
Util: Fix alpha blending calculation
2023-07-23 21:12:59 -07:00
Vicki Pfau
c8cfaefcc8
Updater: Fix overwriting files with directories
2023-07-18 01:42:30 -07:00
Vicki Pfau
1e68020d1c
Qt: Handle multiple save game files for disparate games separately ( fixes #2887 )
2023-07-17 21:34:37 -07:00
Vicki Pfau
4b38883b6a
Qt: Plumb through some path info into the CoreController
2023-07-16 22:28:23 -07:00
Vicki Pfau
c0507b8a71
Qt: Fix leak if loading a save file fails
2023-07-16 22:02:18 -07:00
Vicki Pfau
52ef584424
Updater: Fix overwriting directories with files
2023-07-16 20:41:48 -07:00
Vicki Pfau
436d6c5a08
Qt: Clean up multiplayer attaching/detaching
2023-07-16 18:40:38 -07:00
Vicki Pfau
90b75e4c11
Qt: Const correctness
2023-07-16 15:27:39 -07:00
Vicki Pfau
51d5f4bfd1
Qt: Distribute shaders as zipped archives on supported builds
2023-07-16 01:45:04 -07:00
Vicki Pfau
c49050fe65
Qt: Let the getOpenFileName function class take an optional starting path
2023-07-16 01:44:07 -07:00
Vicki Pfau
4e55bc703c
FFmpeg: Fix isampleRate initialization
2023-07-10 18:18:15 -07:00
Vicki Pfau
0e2ede06bc
GBA: Fix hasOverride initialization
2023-07-10 18:17:46 -07:00
Vicki Pfau
00e62f231a
ARM: Fake bpkt instruction should take no cycles ( fixes #2551 )
2023-07-05 22:10:33 -07:00
Vicki Pfau
44e074a15e
GBA BIOS: Add DACS compatibility to HLE BIOS ( closes #2972 )
2023-07-04 23:23:17 -07:00
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
bd15285ea1
GB Audio: More accurate LFSR implementation for noise channel
2023-06-29 21:56:05 -07:00
Vicki Pfau
0ee3f3f16c
GB Audio: Force update channels 1/2 if updating from a register write
2023-06-29 03:07:10 -07:00
Vicki Pfau
2a974a74e7
GB Audio: Update channels 1/2 irregularly if silent
2023-06-29 03:05:13 -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
4859e9b4c6
GB: Add missing CGB0 BIOS to model detection
2023-06-26 03:54:54 -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
870c2f8bab
Qt: Fix potential scripting context conflict ( fixes #2948 )
2023-06-20 04:34:27 -07:00
Vicki Pfau
1af9831fc9
Scripting: Add light sensor callback support
2023-06-20 03:41:52 -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
c358f22403
Scripting: Update docs style
2023-06-18 22:13:32 -07:00
Vicki Pfau
600b11b284
Scripting: Fix generated docs validity
2023-06-18 22:07:24 -07:00
Vicki Pfau
7be14fa7cc
Scripting: Add rotation callback support
2023-06-18 22:06:54 -07:00
Vicki Pfau
a82c390fe9
Scripting: Detach adapter peripherals when detaching adapter
2023-06-18 21:48:35 -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
58da738647
Qt: Reduce minimum size of GB palette color pickers
2023-06-13 16:07:28 -07:00
Vicki Pfau
20ab4d27b1
Scripting: Expose rumble callback
2023-06-04 22:25:54 -07:00
Vicki Pfau
17a549baf2
Scripting: Fix build against Lua 5.2
2023-06-04 20:20:09 -07:00
Vicki Pfau
e7bbc60e79
All: Fix several warnings
2023-06-01 00:12:32 -07:00
Vicki Pfau
294470d940
Core: Add getPeripheral function
2023-06-01 00:05:41 -07:00
Vicki Pfau
6561223536
Scripting: Add debugger integration
2023-05-29 00:53:53 -07:00
Vicki Pfau
c1421afccb
Debugger: Support calling into multiple debuggers per watchpoint
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
Vicki Pfau
a161dfeb31
Debugger: Fill in segment in debugger entry
2023-05-29 00:53:53 -07:00
Vicki Pfau
b94cd7f1dc
Core: Remove duplicated include
2023-05-29 00:53:53 -07:00
Vicki Pfau
46c44120c9
3DS: Fix build
2023-05-29 00:53:53 -07:00
Vicki Pfau
b80797a578
CMake: Add -Werror=incompatible-pointer-types
2023-05-29 00:23:38 -07:00
Vicki Pfau
4b7223c3ff
Core: Only attempt to open symbol file if basedir exists
2023-05-29 00:23:38 -07:00
Vicki Pfau
a7d63cde54
Core: Reattaching the same debugger is a no-op
2023-05-29 00:23:38 -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
bb6613888a
Util: Add THREAD_EXIT macro
2023-05-09 22:21:55 -07:00
Vicki Pfau
7d6a8a86a8
ARM Debugger: Fix unitialized stack variable
2023-05-09 22:13:09 -07:00
Vicki Pfau
213a534f4b
GBA: Remove disused variable
2023-05-09 21:44:58 -07:00
Vicki Pfau
257122796c
Debugger: Add debugger polling to avoid blocking
2023-05-09 21:43:19 -07:00
Vicki Pfau
a00f2939ad
Debugger: Allow attaching multiple debugger modules independently
2023-05-09 21:43:19 -07:00
Vicki Pfau
8efb3fb5df
Debugger: Make created debug items, e.g. breakpoints, owned by modules
2023-05-09 21:17:46 -07:00
Vicki Pfau
b21a6158f4
Debugger: Break out debugger functionality into modules
2023-05-09 21:17: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
abf0848421
mGUI: Make "bios" name check case-insensitive
2023-05-08 00:41:58 -07:00
Vicki Pfau
00d1c0dc9d
Qt: Fix saturateCast signed check
2023-05-03 06:55:17 -07:00
Vicki Pfau
8de9ac36d7
Merge branch 'master' (early part) into medusa
2023-05-03 02:43:29 -07:00
Vicki Pfau
407a338a0f
Merge branch 'master' (early part) into medusa
2023-05-03 02:43:01 -07:00
Vicki Pfau
0e1054ac13
Merge branch 'master' (early part) into medusa
2023-05-03 02:41:29 -07:00
Vicki Pfau
56c8b35ef6
Merge branch 'master' (early part) into medusa
2023-05-03 02:41:03 -07:00
Vicki Pfau
b1f9a98937
Merge branch 'master' (early part) into medusa
2023-05-03 02:30:16 -07:00
Vicki Pfau
69594abe8a
Merge branch 'master' (early part) into medusa
2023-05-03 02:28:22 -07:00
Vicki Pfau
a3753bd2eb
Merge branch 'master' (early part) into medusa
2023-05-03 02:25:30 -07:00
Vicki Pfau
d8643870d6
Qt: A bit more Qt 6 porting progress
2023-05-03 02:21:55 -07:00
Vicki Pfau
2b8bb4baf7
Qt: Mark QtMultimedia as optional
2023-05-03 01:44:56 -07:00
Vicki Pfau
74a72a5c07
Scripting: Add missing docs to canvas
2023-05-03 01:38:11 -07:00
Vicki Pfau
608029e930
Qt: Promote -Wnarrowing to an error
2023-05-01 22:27:16 -07:00
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
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
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