Vicki Pfau
4ff5140d8c
Qt: Fix FFmpeg verison info in report view
2025-05-31 23:26:28 -07:00
Adam Higerd
6ab4ecd444
Qt: update memory access log view each frame
2025-05-24 00:56:23 -07:00
Adam Higerd
1d5bff49c9
Qt: fix updates in MemoryAccessLogModel
2025-05-24 00:56:23 -07:00
Vicki Pfau
30a94053c3
GB MBC: Add M161 support for one Mani 4-in-1 multicart
2025-05-22 02:54:50 -07:00
Vicki Pfau
0418ae33d5
GB Memory: Fix initial WRAM pattern when skipping BIOS in GBC mode ( fixes #2704 )
2025-05-20 01:07:19 -07:00
Vicki Pfau
2cab5f1705
Qt: Fix potential crash on close with debugger open
2025-05-20 00:48:53 -07:00
Vicki Pfau
00074fac7d
GB Video: Fix window enable edge case ( fixes #2640 )
2025-05-20 00:13:59 -07:00
Vicki Pfau
03ad202c4d
GB Memory: Initialize HRAM when skipping BIOS in GBC mode ( fixes #3420 )
2025-05-13 20:52:19 -07:00
Vicki Pfau
f3663c86ad
GB Memory: Fix handling of invalid banks in View/Patch8 ( fixes #3482 )
...
The second half WRAM is banked on CGB, so bank 0 is only ever the first half.
If we query bank 0 for the second half, force it to bank 1. Further, VRAM bank
1 only exists on CGB, so force it to bank 0 on DMG.
2025-05-04 00:49:17 -07:00
Vicki Pfau
5b059486e5
GB Memory: Fix misuse of 0 instead of NULL
2025-05-04 00:39:34 -07:00
Vicki Pfau
35f287e24c
Windows: Fix some MSVC warnings
2025-05-04 00:24:39 -07:00
Adam Higerd
a3a8b3a8f8
Qt: improve AutorunScriptModel, add unit tests
2025-05-03 16:40:13 -07:00
Vicki Pfau
8c6a8cd63f
Python: Fix build
2025-05-03 01:44:52 -07:00
Adam Higerd
3fe28520ca
Qt: route Qt logging to mGBA's logging system
2025-05-03 01:42:12 -07:00
Vicki Pfau
c4ae9015d9
Util: Add and use ATTRIBUTE_NONSTRING to fix warnings
2025-05-02 04:35:19 -07:00
Vicki Pfau
1c6514bfb7
Qt: Update translations
2025-05-02 04:17:45 -07:00
Not-underscore
a657159fff
Qt: Update translation (Spanish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/es/
2025-05-02 04:15:20 -07:00
Michelangelo Chaume (MickMick Washes Things)
5fe256f90e
Qt: Update translation (French)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/fr/
2025-05-02 04:15:20 -07:00
Daniel Nylander
310a8a3634
Qt: Update translation (Swedish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/sv/
2025-05-02 04:15:20 -07:00
Enes Çetinkal
a669d70458
Qt: Update translation (Turkish)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/tr/
2025-05-02 04:14:53 -07:00
ssantos
160f42e720
Qt: Update translation (Portuguese (Portugal))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_PT/
2025-05-02 04:14:53 -07:00
Champ0999
85ec3e2dd5
Qt: Update translation (Italian)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/it/
2025-05-02 04:14:53 -07:00
王晨旭
057c360bef
Qt: Update translation (Chinese (Simplified Han script))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2025-05-02 04:14:53 -07:00
Felipe
33d8c859c3
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2025-05-02 04:14:53 -07:00
Vicki Pfau
2bc9333038
Qt: Reformat MBC names for better handling of translations
2025-05-02 04:13:23 -07:00
Vicki Pfau
9520694469
Util: Fix VFSMem truncation not affecting offsets
2025-04-29 23:03:35 -07:00
CasualPokePlayer
c5cddc0407
RTC state machine improvements ( #3459 )
...
* Try to correct the RTC state machine to only operate on edges
Unsure if all of this is entirely right (haven't ran any tests to confirm behavior here). Fixes RTC within Pokemon games (and maybe other games) due to the added write latch code adding a _readPins call.
* More correct behavior based on testing
* Move this init to align to struct
* Correctly handle rtc output on falling edges rather than raising edges
also correctly handle rtc output in general, even in cases outside of an rtc read cmd
_outputPins needed to be corrected here, it shouldn't be reading gpioBase here...
* Simplify
* More RTC state machine fixes
Separate out command start and command write data processing
Command start processing happens again if the command magic is invalid (note: doesn't apply to the unmapped command 5)
Ensure command data processing loops
Output 1s for commands with no actual output
* Put SIO output in states
* Try to correct light sensor too
* inc state version
* fix reserved names
2025-04-29 22:48:23 -07:00
CasualPokePlayer
4f9ad3a162
Allow truncation to work within VFileFromMemory ( #3455 )
...
* Allow truncation to work within VFileFromMemory/VFileFromConstMemory
Truncation here is limited to buffer size (allowing for shrinking but not growing the buffer size)
* Don't change VFileFromConstMemory; have VFileFromMemory write "expand" size until the buffer size
* 0 out "expanded" space
2025-04-29 22:47:35 -07:00
Vicki Pfau
de3ab3889d
Qt: Fix build
2025-04-27 22:12:50 -07:00
Vicki Pfau
90057703b5
Qt: Add support for running scripts at startup ( closes #3465 )
2025-04-27 22:02:19 -07:00
Vicki Pfau
c33a0d6534
Qt: Ensure document gets reparented along with text buffer
2025-04-26 20:29:40 -07:00
Vicki Pfau
355c379636
Qt: Add another known-bad driver version for the ig4icd64 crash
2025-04-26 20:04:49 -07:00
Vicki Pfau
46c0464da3
Qt: Fix Qt 5 build harder
2025-04-15 00:14:35 -07:00
Vicki Pfau
bacd3545e8
Qt: Fix Qt 5 build
2025-04-15 00:11:57 -07:00
Vicki Pfau
9bbf6b3173
Qt: Clean up named view initialization and fix raising
2025-04-15 00:03:23 -07:00
Vicki Pfau
939c8f0487
Qt: Clean up some FrameView technical debt
2025-04-15 00:03:23 -07:00
Adam Higerd
3565c12d8c
Qt: don't restrict by model when loading from the library
2025-04-14 18:02:54 -07:00
Adam Higerd
44349b0a37
Qt: fix blank rows in library rendering
2025-04-14 17:41:40 -07:00
Vicki Pfau
d79579d1ca
Qt: Throttle fatal error dialogs
2025-04-13 17:58:01 -07:00
Maximilian Mader
c3f3d00f14
Crop frame view exports to current video size
...
The base video size of the Game Boy core is the Super Game Boy’s resolution of 256×224 pixels.
Previously frames were exported at that size, leading to a 160×144 frame surrounded by uninitialized memory.
This assumes that the base size is always greater or equal to the current video size.
2025-04-13 17:02:22 -07:00
Vicki Pfau
35b6003a7d
Qt: Make sure resizeContext doesn't call doneCurrent at end of start()
2025-04-13 00:07:05 -07:00
Adam Higerd
5bf240ac32
Qt: replace QAbstractItemModel::checkIndex() that was introduced in Qt 5.11
2025-04-10 16:19:44 -07:00
Vicki Pfau
932062c1a4
Qt: Fix selecting high tiles in tile and map views ( fixes #3461 )
2025-04-10 16:11:42 -07:00
Vicki Pfau
86453b8107
SDL: Check for _mSDLOpenJoystick null return
2025-04-10 16:11:42 -07:00
Adam Higerd
40cae51e28
Qt: replace deprecated QSet APIs
2025-04-10 16:11:22 -07:00
Vicki Pfau
a75c6c41e0
Third-Party: Fix discord-rpc CMakeLists issues
2025-04-09 19:01:39 -07:00
Vicki Pfau
233c6a2836
Merge pull request #2570 from ahigerd/alh/library
...
rewrite Qt library frontend
2025-04-09 19:01:26 -07:00
CasualPokePlayer
57d1552582
Increment state version, narrow direction in state too
2025-04-06 21:20:39 -07:00
CasualPokePlayer
3ae429fd91
Implement GPIO internal write latch
...
Regardless of direction, a write to GPIO data actually succeeds fully with all 4 bits. However, this does not directly touch the pin state. It instead places it into an internal write only latch. This latch asserts bits onto the pin state if direction allows for such, otherwise the other side (e.g. RTC) will be the one asserting bits (but this does not end up touching the internal write latch).
The implementation here is likely not entirely accurate for direction changes from out to in (as that depends on each external device implementation), but it should be correct for in to out changes.
2025-04-06 21:20:39 -07:00
Vicki Pfau
bbc61e0f38
Qt: Update copyright year
2025-04-02 14:50:46 -07:00
Adam Higerd
86df2543e6
PR review updates
2025-03-31 21:06:37 -05:00
CasualPokePlayer
4bca59daa5
Mask away unused GPIO bits
...
Unused GPIO bits are not writable and always return 0. This is documented on gbatek and I've confirmed this is the correct behavior on my own Emerald cartridge.
2025-03-31 18:44:54 -07:00
Adam Higerd
165cce1a6c
fix library icons
2025-03-31 10:18:54 -05:00
Adam Higerd
130319494a
switch away from APIs removed / compatibility-broken by upstream
2025-03-31 10:18:54 -05:00
Adam Higerd
578709254f
clean up according to PR comments
2025-03-31 10:18:54 -05:00
Adam Higerd
447054674d
Library: store platform models in database, render GBC/SGB icons
2025-03-31 10:18:52 -05:00
Adam Higerd
ba8671d1d6
Library: rewrite Qt library frontend
2025-03-31 10:12:07 -05:00
Vicki Pfau
93d248859f
Qt: Add missing use of isZeroed
2025-03-30 21:33:16 -07:00
Vicki Pfau
a9262868fc
Qt: Use less questionable way of checking for zeroing
2025-03-30 21:26:14 -07:00
Vicki Pfau
5d7b875629
Scripting: Add SHA1 checksum constant
2025-03-30 21:12:35 -07:00
Vicki Pfau
0e42f9d561
Util: Bring up MD5 and SHA-1 library and No-Intro querying
2025-03-30 20:58:05 -07:00
Vicki Pfau
eb781d290b
Core: Add SHA1 hashing for ROMs
2025-03-30 16:44:33 -07:00
Vicki Pfau
410fbccb5a
GBA e-Reader: Attempt to improve scan consistency
2025-03-26 22:46:45 -07:00
Vicki Pfau
10eb794cfd
GB: Better handling of SRAM and ROM unloading/reloading
2025-03-15 03:02:20 -07:00
Vicki Pfau
360a163ad6
Qt: Mark Ut Video string as notr
2025-03-15 02:36:54 -07:00
Vicki Pfau
0b0961b804
Qt: Fix up memory view size hints
2025-03-15 02:30:29 -07:00
Vicki Pfau
50a314913f
GB MBC: Ensure SRAM size is properly updated if GBMBCInit is called again
2025-03-15 01:32:37 -07:00
Vicki Pfau
84704502bd
Qt: Properly activate context when resizing layers ( fixes #3435 )
2025-03-14 14:57:01 -07:00
Vicki Pfau
cfe04fff88
OpenGL: Fix layer texture generation
2025-03-14 14:55:56 -07:00
Vicki Pfau
95043a5864
Qt: Nahimic sucks
2025-03-14 13:55:14 -07:00
Vicki Pfau
05d1cff6eb
FFmpeg: Add Ut Video option
2025-03-11 15:08:47 -07:00
Vicki Pfau
aa5f4bc3a4
3DS: Change title ID to avoid conflict with commercial title ( fixes #3023 )
2025-03-11 14:51:04 -07:00
Vicki Pfau
b698d4e317
ARM: Placate Coverity even more
2025-03-08 02:09:54 -08:00
Vicki Pfau
1bbdbd4482
Util: Placate Coverity a bit more
2025-03-08 02:09:28 -08:00
Vicki Pfau
ae3a5988d0
Qt: Placate Coverity a bit
2025-03-07 23:10:09 -08:00
Vicki Pfau
2c71435c43
SDL: Add a small bit of allowable extra audio buffering
2025-03-03 19:19:20 -08:00
Vicki Pfau
056f53ff4a
Feature: Fix memory leak when recording a video log
2025-02-28 21:37:04 -08:00
Eric Warmenhoven
eeb52e4027
libretro: change accelerometer values to be same as for switch
2025-02-28 16:30:48 -08:00
Vicki Pfau
51e813aa9a
Core: Add ENABLE_DIRECTORIES to optionally slim down VFS further
2025-02-28 16:18:02 -08:00
Vicki Pfau
c302d99d1b
Libretro: Add missing SCGB model BIOS name
2025-02-28 03:09:15 -08:00
Vicki Pfau
abb46602ca
GB: Allow use of CGB-E and AGB-0 BIOS versions ( closes #3427 )
2025-02-27 02:38:04 -08:00
Vicki Pfau
9923d1b3a1
Util: Cap internal buffer size when unzipping files ( fixes #3404 )
2025-02-26 23:46:39 -08:00
Vicki Pfau
5fd0ba0d67
GBA Cheats: Let VBA-style codes patch ROM ( fixes #3423 )
2025-02-23 22:49:08 -08:00
Vicki Pfau
2dc4397c1b
Vita: Allow using rear touch pads as L2/L3/R2/R3 ( #3054 )
2025-02-14 22:54:06 -08:00
Vicki Pfau
6a29f23ca5
Qt: Update translations
2025-02-14 18:19:54 -08:00
reimu105
9c9614e16d
Qt: Update translation (Chinese (Simplified Han script))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hans/
2025-02-14 18:17:12 -08:00
தமிழ்நேரம்
0d19cf1d5c
Qt: Added translation (Tamil)
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/ta/
2025-02-14 18:17:12 -08:00
Felipe
2e0f926892
Qt: Update translation (Portuguese (Brazil))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/pt_BR/
2025-02-14 18:17:12 -08:00
reimu105
9c4c541c91
Qt: Update translation (Chinese (Traditional Han script))
...
Translation: mGBA/Qt
Translate-URL: https://hosted.weblate.org/projects/mgba/mgba-qt/zh_Hant/
2025-02-14 18:17:12 -08:00
Adam Higerd
8c98eafc77
Qt: Fix use-after-free in shader settings
2025-02-13 22:36:31 -08:00
Vicki Pfau
7607a5bea9
GB MBC: Add Sintax support
2025-02-12 03:52:03 -08:00
Vicki Pfau
6221cd2d06
Qt: Enable ROM preloading by default
2025-02-11 05:12:35 -08:00
Vicki Pfau
daf01b03d5
3DS: Expose late thread flush as "loose sync"
2025-02-10 02:24:15 -08:00
Vicki Pfau
a9041b122f
GBA Video: Allow proxy flush timing configuration
2025-02-10 02:23:53 -08:00
Vicki Pfau
fc14b4b0da
mGUI: Add better description of the fastForwardMute option
2025-02-09 16:27:34 -08:00
Vicki Pfau
55f21cd951
mGUI: Fix saving integer config values
2025-02-09 16:26:36 -08:00
Vicki Pfau
d365312757
ARM Debugger: Fix disassembly of ror r0 barrel shift ( fixes #3412 )
2025-02-07 18:02:53 -08:00
Vicki Pfau
2e7918d8b2
GBA: Update some register information with new stereoscopy discoveries
2025-02-07 03:03:09 -08:00
Vicki Pfau
92e10f31ea
Qt: Fix regression where loading BIOS creates a save file ( fixes #3359 )
2025-01-21 00:50:34 -08:00
Vicki Pfau
2dd11712db
Python: Fix some missing constants ( fixes #3402 )
2025-01-21 00:33:42 -08:00