8771 Commits

Author SHA1 Message Date
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
11ebe11c8e Scripting: Allow display input script to work even if overlay does not work initially 2025-04-27 22:03:06 -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
28ef99e056 Res: Fix Pokemon script game detection 2025-04-19 20:33:35 -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
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
8740f3dde1 Narrow these in runtime struct too 2025-04-06 21:20:39 -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
e95b81f1f7 CMake: Bump to 3.10 minimum
This really is only needed to get CMake to stop yelling at us...
2025-04-03 00:41:05 -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
62247f0dce res: Update No-Intro db 2025-03-30 15:47:59 -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