Vicki Pfau
4652bbb427
Util: Fix #if into #ifdef
2024-04-08 02:53:00 -07:00
Vicki Pfau
02b2f5a98a
flags.h: Add missing flags
2024-04-08 02:52:47 -07:00
Vicki Pfau
1f2d0d5056
GBA GPIO: Fix gyro read-out start ( fixes #3141 )
2024-04-05 00:10:09 -07:00
Vicki Pfau
e61a324df2
Core: More threading cleanup
2024-04-04 23:00:41 -07:00
Vicki Pfau
104d746c1e
Core: Fix some mutex ordering
2024-04-04 00:28:58 -07:00
Vicki Pfau
b5a2f62c88
SDL: Really fix the build this time
2024-04-03 04:59:04 -07:00
Vicki Pfau
ee1a860ac4
SDL: Fix build on SDL 2.0.12
2024-04-03 04:57:19 -07:00
Hexaae
8907131244
Qt: Update translation (Italian)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2024-04-03 04:47:08 -07:00
Imre Kristoffer Eilertsen
910326f29d
Qt: Update translation (Norwegian Bokmål)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/nb_NO/
2024-04-03 04:47:08 -07:00
ssantos
33bfd7f752
Qt: Update translation (Portuguese)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt/
2024-04-03 04:47:08 -07:00
Anatolij Vasilev
af2e2fd517
Qt: Update translation (German)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/de/
2024-04-03 04:47:08 -07:00
Guih48
b78d230ba9
Qt: Update translation (Hungarian)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/hu/
2024-04-03 04:47:08 -07:00
Enes Çetinkal
0a8470a6d0
Qt: Update translation (Turkish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/tr/
2024-04-03 04:46:04 -07:00
Ensar Melih Bulut
3a37c1d3ff
Qt: Update translation (Turkish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/tr/
2024-04-03 04:46:04 -07:00
Eryk Michalak
7af70a69bb
Qt: Update translation (Polish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pl/
2024-04-03 04:46:04 -07:00
Felipe
424ef6ff74
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2024-04-03 04:46:04 -07:00
Hoseok Seo
dcb07f6e33
Qt: Update translation (Korean)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ko/
2024-04-03 04:46:04 -07:00
Momo cao
5acef1c454
Qt: Update translation (Spanish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2024-04-03 04:46:04 -07:00
gallegonovato
6e39eb37f6
Qt: Update translation (Spanish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2024-04-03 04:46:04 -07:00
Vicki Pfau
9320588e45
Qt: Switch SDL controller usage from Joystick to GameController
2024-04-03 04:41:54 -07:00
Vicki Pfau
68d120ec55
SDL: Start actually using SDL_GameController for its intended purpose
2024-04-03 02:56:29 -07:00
Vicki Pfau
fb7ad7dbfb
Qt: Actually load defaults again
2024-04-03 02:55:59 -07:00
Vicki Pfau
5ff777d301
Scripting: Add overloads, overload isKeyActive
2024-04-02 22:53:02 -07:00
Vicki Pfau
e3edca1f41
Scripting: Attempt to shake out single-lua_State requirement
2024-03-26 22:24:14 -07:00
Vicki Pfau
86551614d9
Qt: Enable building against Qt6 by default
2024-03-25 21:27:58 -07:00
Vicki Pfau
ae8b88a4a3
Qt: Fix underrun stalling with Qt6
2024-03-25 21:16:09 -07:00
Vicki Pfau
1179d218e7
Qt: Fix Qt6 build
2024-03-25 02:35:03 -07:00
Vicki Pfau
a430f58c15
GB, GBA: Move more override-adjacent stuff to public API
2024-03-25 01:47:32 -07:00
Vicki Pfau
4a17ed3b9c
GBA: Remove legacy "mirroring" field from overrides
2024-03-25 01:23:39 -07:00
Vicki Pfau
abf484638e
GBA: Fix build
2024-03-25 01:23:14 -07:00
Vicki Pfau
e48acb6b97
GB, GBA: Move override structs to public API
2024-03-24 23:03:59 -07:00
Vicki Pfau
ea5339304a
GBA Savedata: Prefix SavedataType constants and type name
2024-03-24 22:57:51 -07:00
Vicki Pfau
6940b424df
Qt: Fix non-Multimedia build
2024-03-24 22:07:31 -07:00
Vicki Pfau
04bbcdfdd1
Qt: Fix build
2024-03-24 21:31:53 -07:00
Vicki Pfau
dc29af8262
Qt: Hook up cameras in Qt6
2024-03-24 21:18:41 -07:00
Vicki Pfau
06448e8445
Qt: Get VideoDumper compiling with Qt6
...
Cameras still don't work though
2024-03-24 19:51:09 -07:00
Vicki Pfau
3f21de2b7c
Qt: Port AudioProcessorQt to Qt6
2024-03-24 15:56:00 -07:00
Vicki Pfau
cf0d8fdc28
Qt: Get InputController compiling with Qt6
...
Cameras still don't work though
2024-03-24 15:55:56 -07:00
Vicki Pfau
a2587cb8cf
Util: Code cleanup to remove unreachable code
2024-03-19 21:40:38 -07:00
Vicki Pfau
aa7b9349f8
Core: Clean up thread state mutex usage
2024-03-19 21:30:47 -07:00
Vicki Pfau
c80f3afd77
Qt: Reattach video backend when resetting scripts ( fixes #3167 )
2024-03-18 23:26:01 -07:00
Vicki Pfau
776d52a2c6
Scripting: Export new image masking function
2024-03-18 23:17:42 -07:00
Vicki Pfau
4fdadc585d
GB Audio: Fix audio envelope timing resetting too often ( fixes #3164 )
2024-03-17 19:53:41 -07:00
Vicki Pfau
c8c9fcb665
SDL: Use SDL_GameControllerRumble instead of SDL_JoystickRumble if available
2024-03-12 17:46:25 -07:00
Vicki Pfau
d8ab5529a7
GB: Fix type coercion
2024-03-11 21:55:26 -07:00
TuxSH
369e6a03f4
Fix menu bug that allowed the selection of invalid states when wrap=true
2024-03-11 21:55:04 -07:00
TuxSH
4ee633925c
3DS: Implement 3x sharp bilinear scaling and make it the default
...
- Old method was 2x. 3x looks quite a bit sharper in aspect-fit mode on
non-O2DS as the width is an integer number of half-width pixels. Since
resulting upscaling ratio is 3x:1.5x, this gives very good results,
althought it might be too sharp for your liking (YMMV). Not as much of
a difference in screen-fit mode
- Remove duplicate rendertarget as it was not necessary
2024-03-11 21:55:04 -07:00
Vicki Pfau
c541a79e95
Windows: Fix compilation woes from last commit
2024-03-04 21:52:25 -08:00
oltolm
3571b112dc
fix compilation warnings
2024-02-27 00:43:00 -08:00
oltolm
cf54ddd864
CMake: make compile with mingw-w64 and Qt6
2024-02-27 00:43:00 -08:00
Vicki Pfau
49d9b70e6f
Core: Move rewind state coalescing into mCoreRewindRestore
2024-02-08 17:15:18 -08:00
Vicki Pfau
c917a71ef8
Qt: Improve OpenGLES support and cleanup ifdef maze
2024-02-07 03:38:07 -08:00
Vicki Pfau
55c7c2f48e
CMake: Remove leftover debug print
2024-02-07 01:44:57 -08:00
Vicki Pfau
bba2c131a1
Qt: Shut coverity up a bit more
2024-01-31 15:41:34 -08:00
Vicki Pfau
3b32da60fa
Qt: Attempt to fix MSVC build
2024-01-31 02:36:35 -08:00
Vicki Pfau
7bd877dfbd
Qt: Shut up coverity some, despite this probably not doing anything
2024-01-31 01:22:18 -08:00
Vicki Pfau
eff1785ce0
Qt: Coverity complains about this but I have no idea if it matters
2024-01-30 16:20:52 -08:00
Vicki Pfau
4cdcfe6dd3
Qt: Fix potential null deref
2024-01-30 16:20:52 -08:00
Vicki Pfau
530b997d7e
Qt: Fix uninitialized variable
2024-01-30 16:20:52 -08:00
Vicki Pfau
1723a353c2
Updater: Fix updating appimage across filesystems
2024-01-30 16:20:52 -08:00
Bastien Orivel
7cacae1262
Add a `--script` option to load scripts automatically on startup
2024-01-30 15:52:48 -08:00
Vicki Pfau
0815443aeb
Qt: Use && in some places that coverity recommends
2024-01-30 02:59:52 -08:00
Vicki Pfau
3133105fc9
Qt: Pay down a bit of MemoryAccessLogView tech debt
2024-01-30 02:59:52 -08:00
Vicki Pfau
c0a323dbcd
VFS: Fix UB
2024-01-30 02:59:52 -08:00
Vicki Pfau
7b0e400710
Util: Fix leak in SfoWrite
2024-01-30 02:59:52 -08:00
Vicki Pfau
7727b6434d
Qt: Pass logging context through to video proxy thread ( fixes #3095 )
2024-01-30 02:59:52 -08:00
Vicki Pfau
4590dfc68b
Qt: Switch VideoProxy to using QMutexLocker
2024-01-30 02:59:52 -08:00
Vicki Pfau
1fc37e9962
Core: Migrate thread context TLS to its own key
2024-01-30 02:59:52 -08:00
Vicki Pfau
05bf592dec
SDL: Refactor out layer recentering, fix for GB
2024-01-30 02:59:52 -08:00
Steveice10
398df56ac9
core: Add support for specifying an arbitrary portable directory.
2024-01-29 20:21:18 -08:00
unknown
3e86758a9f
Qt GDB Window defaults to loopback address
2024-01-29 20:19:20 -08:00
unknown
6243a57832
GBA Debugger defaults to loopback address
2024-01-29 20:19:20 -08:00
Vicki Pfau
e5b14977ce
Qt: Remember to set m_dims for the early return
2024-01-27 00:31:30 -08:00
Vicki Pfau
e1ebaed508
OpenGL: Mark interframe shader as dirty too ( fixes #3099 )
2024-01-27 00:31:07 -08:00
Vicki Pfau
11e16d1ad9
GBA SIO: Fix MULTI mode SIOCNT bit 7 writes on secondary GBAs ( fixes #3110 )
2024-01-21 17:42:55 -08:00
Vicki Pfau
845d69e817
Qt: Fix input event threading regression ( fixes #3116 )
2024-01-21 17:28:16 -08:00
Vicki Pfau
5479ab1307
Vita: Use sceIoPwrite in VFileSce.sync
2024-01-21 02:46:46 -08:00
Vicki Pfau
4e87dc61ee
Vita: Add imc0 and xmc0 mount point support
2024-01-21 02:46:45 -08:00
Vicki Pfau
6e773eafea
VFS: Modernize VDeviceList implementation
2024-01-21 02:46:09 -08:00
Vicki Pfau
12ed251c0b
GB: Fix uninitialized save data when loading undersized temporary saves
2024-01-21 02:46:09 -08:00
Vicki Pfau
7157729ac3
Swtich: Fix config item count
2024-01-18 18:10:32 -08:00
Vicki Pfau
c2e2b6d93c
Switch: Add bilinear filtering option ( closes #3111 )
2024-01-18 02:58:50 -08:00
Vicki Pfau
328bebbc01
GBA Video: Migrate window precalculation into a function
2024-01-09 23:26:14 -08:00
Vicki Pfau
2c5882df3e
All: Fix some warnings
2024-01-09 22:17:33 -08:00
Vicki Pfau
16c777cdd9
Qt: Fix screen freezing on macOS after closing save state window ( fixes #2885 )
2024-01-07 16:57:25 -08:00
Vicki Pfau
feb7b5a116
Config: Fix warning
2024-01-07 16:57:25 -08:00
Vicki Pfau
e01fc0f2b7
3DS: Remove fancy memory mapping
2024-01-07 16:57:25 -08:00
Vicki Pfau
2e3ad7ed16
CMake: Clean up with PROJECT_SOURCE_DIR
2024-01-07 16:57:25 -08:00
luc-git
48253afc54
Qt: Fix shaders not applying when display is loaded ( #3100 )
...
Co-authored-by: Vicki Pfau <vi@endrift.com>
2024-01-06 22:47:11 -08:00
Vicki Pfau
d83b2f99cd
VFS: Use anonymousMemoryMap for large 7z allocations ( fixes #3013 )
2023-12-21 22:57:36 -08:00
Vicki Pfau
45387aa663
Qt: Fix Action leak
2023-12-21 00:24:16 -08:00
Vicki Pfau
ffacbcfeea
Qt: Make Gamepad be a shared_ptr
2023-12-20 22:59:35 -08:00
Vicki Pfau
5bd5a8d998
GBA I/O: Fix HALTCNT access behavior ( fixes #2309 )
2023-12-20 22:05:17 -08:00
Vicki Pfau
6ee880c58b
GB Audio: Improve "zombie mode" emulation in CGB mode ( fixes #2029 )
2023-12-20 02:52:45 -08:00
Vicki Pfau
c8f4d4aad9
GB Audio: Fix restarting envelope when writing to register ( fixes #3067 )
2023-12-20 02:19:19 -08:00
Vicki Pfau
1f6337fc1f
CInema: Fix xbaseline differences being ignored with no baseline
2023-12-20 02:19:19 -08:00
Daniel Simon
333483a69e
Qt: Fix generic icon on Wayland
2023-12-19 13:56:38 -08:00
Vicki Pfau
bfc830e08d
mGUI: Persist fast forwarding after closing menu ( fixes #2414 )
2023-12-18 22:57:51 -08:00
Vicki Pfau
3a5642fcb8
GB: Fix applying a patch that changes the cartridge mapper ( fixes #3077 )
2023-12-11 22:05:55 -08:00
Vicki Pfau
256143944a
Qt: Code signing cleanup
2023-12-11 18:42:31 -08:00
Vicki Pfau
ec2f791655
Qt: Do initial macOS resource staging in local app bundle
2023-12-11 01:50:00 -08:00
Vicki Pfau
7b2fe75ebf
Qt: Move install in CMake so install scripts get run first
2023-12-11 01:21:01 -08:00
Vicki Pfau
83528e14f5
Qt: Do codesigning on macOS
2023-12-11 00:42:32 -08:00
Vicki Pfau
c7240b0e8e
Qt: Fix minimum macOS version setting
2023-12-10 21:29:31 -08:00
Vicki Pfau
a874450c1a
CMake: Bump minimum macOS to 10.7 when building against SDL2
2023-12-10 21:16:29 -08:00
Daniel
dc9a2572d1
Add Goodboy Galaxy to overrides
...
To enable rumble
2023-11-28 09:36:37 -08:00
Vicki Pfau
63b18687f0
Test: Allow ROM tester to be debugged
2023-11-24 22:28:05 -08:00
Vicki Pfau
569bc92b90
Test: Use refactored argument handling
2023-11-24 22:28:05 -08:00
Vicki Pfau
18a35b3928
Feature: Move command-line patch/cheats argument handling
2023-11-24 22:28:05 -08:00
Vicki Pfau
3e47da2e18
SDL: Fix minor leak if debugger isn't used
2023-11-24 22:28:05 -08:00
Vicki Pfau
319bdbd106
Feature: Move command-line debugger argument handling
2023-11-24 22:28:05 -08:00
Vicki Pfau
b7284542bc
Debugger: Move CLIDebugerEditLine implementation into debugger/
2023-11-24 22:28:05 -08:00
Vicki Pfau
ce4024a29e
GBA Savedata: Fix crash when resizing flash save games for RTC data
2023-11-24 22:28:05 -08:00
Vicki Pfau
050c5da263
Tools: Move updater and docgen source into tools/
2023-11-24 22:28:05 -08:00
Vicki Pfau
978e7c94b2
Tools: Add SDF-generation tool and 4x font SDF
2023-11-24 22:28:05 -08:00
nia
d75d26bcc9
Scripting: Check for ENOTRECOVERABLE
...
It's part of "robust mutexes" and may not necessarily be available
(e.g. on NetBSD 9)
2023-11-20 02:49:43 -08:00
Vicki Pfau
6853080b98
FFmpeg: Fix deprecation warnings
2023-11-06 22:16:14 -08:00
Vicki Pfau
437ad30547
GBA Audio: Only read MP2k context addresses if valid
2023-10-29 17:07:15 -07:00
Vicki Pfau
9c9f31d0d1
Qt: Fix non-debugger build ( fixes #3049 )
2023-10-25 15:22:09 -07:00
Vicki Pfau
6ecc182d7c
Qt: Attach debugger when attaching scripting controller ( fixes #3046 )
2023-10-15 19:42:50 -07:00
leo60228
ce374b15a3
Debugger: Advertise QStartNoAckMode support
2023-10-07 23:56:23 -07:00
leo60228
6e2c3885ee
Debugger: Fix off-by-one breaking StartNoAckMode
2023-10-07 23:56:23 -07:00
David Spickett
ef7edba159
Debugger: Fix interrupt after continue from GDB stub
...
GDB and LLDB will send a ctrl-c character (\x03) to the stub
to interrupt it after a continue where it doesn't stop on its own.
E.g.
```
void foo() {
foo2(); // Continue from here.
while (1) {} // Loops here until ctrl-c in the debugger.
}
```
mGBA had code to handle the ctrl-c but because in _continue
we set the paused status after calling mDebuggerModuleSetNeedsCallback,
the callback was never set so nothing was looking for new messages
while we were running. We should instead set the paused state then call
mDebuggerModuleSetNeedsCallback.
mDebuggerModuleSetNeedsCallback calls mDebuggerUpdatePaused, and all
other calls to mDebuggerUpdatePaused update the paused state before
that call so this matches existing usage of that too.
With this fix, after the continue _gdbStubPoll is called periodically
and will pick up the ctrl-c as it comes in (_gdbStubWait is used when
we are stopped in the debugger).
This fixes ctrl-c to interrupt when using lldb and gdb.
2023-10-07 23:56:11 -07:00
Vicki Pfau
46f59df10a
Core: Add missing defines to flags.h
2023-09-27 20:21:28 -07:00
Vicki Pfau
d34ec95879
Wii: Fix build
2023-09-27 20:21:03 -07:00
Vicki Pfau
0f0dccdcf2
Scripting: Unpack breakpoint name struct
2023-09-27 17:53:30 -07:00
Vicki Pfau
476dcc11df
Scripting: Attach canvas object in docgen
2023-09-27 16:51:48 -07:00
Vicki Pfau
1dd00d5bb0
Scripting: Fix typo in docs
2023-09-27 16:47:43 -07:00
Vicki Pfau
4215332eb4
Revert "Qt: Ensure action set is clean before (re)building"
...
This reverts commit 3ee12b1a55
.
2023-09-24 21:04:59 -07:00
David Spickett
7de02c9949
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-22 23:07:43 -07:00
Vicki Pfau
beda1d5b87
Scripting: Enhance error reporting
2023-09-16 01:30:40 -07:00
Vicki Pfau
efb30080e8
Scripting: Code cleanup
2023-09-16 01:20:55 -07:00
Vicki Pfau
0c675b12e4
Scripting: Simplify console implementation
2023-09-16 01:20:34 -07:00
Vicki Pfau
805773aa8f
Scripting: Fix console error log level
2023-09-16 00:42:52 -07:00
Vicki Pfau
c03b15944b
Qt: Add shadow ROM exporting
2023-09-15 23:36:03 -07:00
Vicki Pfau
8610147ad7
Qt: Expand romFilters functionality
2023-09-15 23:36:03 -07:00
Vicki Pfau
131b983894
Debugger: Move platform-specific flag lookup to mDebuggerPlatform
2023-09-15 23:36:03 -07:00
Vicki Pfau
d55a13c9ba
Debugger: Initial memory access logger support
2023-09-15 23:36:03 -07:00
Vicki Pfau
9c673f527d
ARM, SM83: Check for events both before and after single stepping
2023-09-15 23:36:03 -07:00
Vicki Pfau
5d32e432b3
GBA Core: Add missing blocks
2023-09-15 23:36:03 -07:00
Vicki Pfau
c6316edf2a
GB, GBA: Move CLI debugger headers
2023-09-15 22:08:12 -07:00
Vicki Pfau
7015a104be
Debugger: Clean up layering violation
2023-09-15 22:08:12 -07:00
Vicki Pfau
b2dd7611ea
GBA Core: Export reduced GBA ROM region size if the ROM is less than 32 MiB
2023-09-15 22:06:33 -07:00
Vicki Pfau
022e009a75
GB Core: Fix exported size information
2023-09-15 22:06:33 -07:00
Vicki Pfau
b46278b3ed
GBA: Make sure unloading a ROM frees the AGBPrint buffer
2023-09-15 22:06:33 -07:00
Vicki Pfau
4b9072de03
Qt: Move controller-based subview auto-closing
2023-09-14 22:34:46 -07:00
Vicki Pfau
f051b88f81
Qt: SaveConverter doesn't use the controller
2023-09-14 22:34:46 -07:00
Vicki Pfau
4de9d5f16c
Core: Fix potential UAF when loading a ROM in a VDir
2023-09-14 22:34:46 -07:00
Vicki Pfau
8520ad8f1f
GBA I/O: Prefix GBA registers with GBA_REG_
2023-09-07 00:12:19 -07:00
Vicki Pfau
4c03970ffe
GBA I/O: More legibility improvements
2023-09-07 00:12:19 -07:00
Vicki Pfau
bcb0073a4a
GBA I/O: Improve legibility of long constants
2023-09-07 00:12:19 -07:00
Vicki Pfau
6ed7341b5a
Debugger: Fix trace
2023-09-06 18:59:07 -07:00
Vicki Pfau
20931a89d9
GBA Core: Fix Flash 1M memory block descriptor
2023-09-02 00:43:43 -07:00
Vicki Pfau
f2186f6a5c
Vita: Fix camera setting not appearing ( fixes #3012 )
2023-08-28 13:29:03 -07:00
Vicki Pfau
85c9872cd6
GB I/O: Fix STAT writing IRQ trigger conditions ( fixes #2501 )
2023-08-25 23:02:18 -07:00
Vicki Pfau
0acc8c2af2
GBA Audio: Fix sample position issues when rate changes ( fixes #3006 )
2023-08-23 14:35:16 -07:00
Vicki Pfau
16fe12cc97
Qt: Remove shared_ptr copies in for loops
2023-08-18 22:14:40 -07:00
Vicki Pfau
5c2a55884b
Qt: Fix remaining non-Multimedia Qt 6 build issues
2023-08-18 21:45:08 -07:00
Vicki Pfau
613ce0286a
Qt: Force surface type to OpenGL in DisplayGL
2023-08-18 21:44:46 -07:00
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
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