TellowKrinkle
270560f8e6
Qt: Avoid using casting to wrong type of event
2026-10-07 21:11:51 -05:00
JosJuice
58967fdc42
Merge pull request #14896 from jordan-woyak/netplay-gcadapter-fix
...
NetPlayConfigLoader: Fix GCAdapter handling.
2026-10-07 19:52:28 +02:00
JosJuice
584bee07d7
Merge pull request #14911 from acts-1631/netplay-save-banner-validation
...
NetPlay: reject oversized Wii save banners
2026-10-07 19:48:18 +02:00
JosJuice
9b4d5a5449
Merge pull request #14912 from acts-1631/savestate-fifo-pointer-validation
...
VideoCommon: validate restored FIFO pointers
2026-10-07 19:48:11 +02:00
JosJuice
370585aa68
Merge pull request #14835 from JoshuaVandaele/vulkan-over-gl
...
VideoCommon: Prefer Vulkan over OpenGL on Linux
2026-10-07 19:36:04 +02:00
iwubcode
1ab733dd5c
Merge pull request #14836 from iwubcode/dolphin_texture_refactor_1
...
VideoCommon: refactor texture cache frame buffer copies
2026-10-06 15:00:03 -05:00
iwubcode
ad087f3689
Merge pull request #14840 from iwubcode/dolphin_texture_refactor_3
...
VideoCommon: split partial texture update logic from the actual rendering
2026-10-06 14:56:08 -05:00
iwubcode
68c3fb5351
Merge pull request #14908 from iwubcode/vertex_manager_remove_custom_shaders
...
VideoCommon: remove remnants of old custom shader feature
2026-10-06 14:55:41 -05:00
Jordan Woyak
9275d51910
NetPlayConfigLoader: Fix GCAdapter handling.
2026-10-05 14:32:53 -05:00
iwubcode
0961ec1d87
Merge pull request #14907 from iwubcode/texture_return_shared
...
VideoCommon: return a RcTcacheEntry (shared_ptr) from TextureCacheBase::Load()
2026-10-04 19:02:07 -05:00
Acts1631
f5438ce0c3
VideoCommon: validate restored FIFO pointers
...
Save states restored video FIFO pointers from unchecked offsets. A
crafted offset could place a pointer outside its backing allocation and
turn the next gather-pipe copy into an out-of-bounds native write.
Require pointer offsets to stay within their backing array and reject a
state when either offset is invalid or the read pointer follows the write
pointer.
2026-10-04 16:53:57 -04:00
Acts1631
c987640440
NetPlay: reject oversized Wii save banners
...
The save sync parser preserved an oversized banner length after limiting
the copy into the fixed header buffer. The NAND writer then used the
untrusted length and read beyond the stack object.
Reject invalid or oversized lengths before copying the banner.
2026-10-04 16:34:34 -04:00
iwubcode
e051e57251
VideoCommon: refactor texture cache frame buffer copies, in preparation for a future enhancement
2026-10-04 01:54:15 -05:00
iwubcode
a0a4e02ebb
VideoCommon: remove remnants of old custom shader feature, it will be replaced by Materials in the future
2026-10-04 00:55:03 -05:00
iwubcode
eb236466c4
Merge pull request #14899 from Starlightbotanist/adreno-tev-zero-rewrite
...
VideoCommon: Work around Adreno TEV zero input miscompilation
2026-10-04 00:19:22 -05:00
Starlightbotanist
4ba37f1dde
VideoCommon: Work around Adreno TEV zero input miscompilation
...
Some Qualcomm Android drivers from version 700 onward miscompile
specialized TEV pixel shaders when color input A or B is TevColorArg::Zero.
Use konstLookup[8].rgb, which PixelShaderManager initializes to zero,
to keep these inputs dependent on a uniform value.
Use the existing driver bug gate for OpenGL and Vulkan. Other inputs and
unaffected drivers retain their original shader expressions.
2026-10-04 00:25:01 -04:00
iwubcode
e6fc6aa1b2
VideoCommon: split partial texture update logic from the actual rendering
2026-10-03 22:53:33 -05:00
iwubcode
93c28ee307
VideoCommon: return a RcTcacheEntry (shared_ptr) from TextureCacheBase::Load()
...
This allows the texture entry to be stored off or passed around and shared in the future
2026-10-03 22:31:14 -05:00
OatmealDome
f70b2990ad
Merge pull request #14891 from OatmealDome/shm-entry-begone
...
MemArenaDarwin: Eliminate use of mach_make_memory_entry_64
2026-10-03 21:14:38 -04:00
Admiral H. Curtiss
562875dd60
Merge pull request #14879 from jordan-woyak/infinity-window-adjustments
...
DolphinQt/InfinityBaseWindow: Minor adjustments.
2026-10-03 12:25:05 +02:00
Admiral H. Curtiss
8c16ea6c27
Merge pull request #14797 from acts-1631/security/netplay-buffer-limit
...
NetPlay: reject oversized input buffer messages
2026-10-03 11:08:09 +02:00
JosJuice
af1ab20b35
Merge pull request #14812 from JoshuaVandaele/correct-env-locale
...
Fix crashes when using `std::locale{""}` with an invalid LC_ALL
2026-10-03 09:53:13 +02:00
Jordan Woyak
f76238742c
Merge pull request #14328 from JoshuaVandaele/choices-fix
...
DolphinTool: Show choices as metavars, and don't lie about defaults
2026-10-03 01:05:15 -05:00
Jordan Woyak
a0c3ab78d3
Merge pull request #14772 from sepalani/mic-cleanup
...
EXI_DeviceMic: Cleanup and small improvements
2026-10-02 22:04:18 -05:00
Jordan Woyak
85a0740561
GBAPadEmu: Make GBAPad::GetInput use actual GBA button values rather than have SI_DeviceGBAEmu translate bits from GCPad to GBA.
2026-10-02 13:42:28 -05:00
Acts1631
1eca2ca31c
NetPlay: reject oversized input buffer messages
...
A NetPlay host could send an arbitrary buffer size to a client. The
client then tried to allocate input states until it reached that value.
Limit buffer sizes to the existing user-interface maximum. Invalid peer
values are ignored.
2026-10-02 14:14:45 -04:00
Admiral H. Curtiss
061f3e95bb
Merge pull request #14863 from brad0/openbsd_getexecpath
...
Implement File::GetExePath() for OpenBSD with getexecpath()
2026-10-02 19:52:29 +02:00
Admiral H. Curtiss
8e7521c46e
Merge pull request #14900 from VampireFlower/assembler-fix
...
Assembler: Fix crash from assembling malformed source
2026-10-02 19:50:37 +02:00
JMC47
24c80c5a32
Merge pull request #14590 from jordan-woyak/mmu-256-mem2
...
PowerPC/MMU: Change mask in DMA_LCToMemory and DMA_MemoryToLC functions to allow for a 256MiB MEM2.
2026-10-02 06:29:32 -04:00
Jordan Woyak
8fe19d1118
Merge pull request #14860 from JoshuaVandaele/inputsyntax-nodecimal
...
Input Syntax: Add floor, ceil, round, and trunc functions
2026-10-02 03:47:24 -05:00
JMC47
5390a61e52
Merge pull request #14880 from ICEREG1992/GBARouting
...
Integrated GBA Audio Routing
2026-10-02 01:58:20 -04:00
JosJuice
003c61b78b
Vulkan: Fetch driverVersion
...
For use with DriverDetails.
2026-09-30 18:37:01 -04:00
VampireFlower
902587cae2
Assembler: Fix crash from assembling malformed source
2026-09-30 04:04:23 -06:00
OatmealDome
da76f651ec
MemArenaDarwin: Eliminate use of mach_make_memory_entry_64
2026-09-27 13:59:01 -04:00
Admiral H. Curtiss
465c652da1
Merge pull request #14887 from SuperSamus/statistics-unsigned-members
...
VideoCommon/Statistics: Use unsigned int where appropriate
2026-09-24 23:42:38 +02:00
Martino Fontana
910eeffc08
VideoCommon/Statistics: Use unsigned int where appropriate
...
Some poorly coded games are able to overflow some statistics (e.g. Jimmy Neutron: Boy Genius's title screen).
While funny, signed integer overflow is undefined behavior, and while in practice here it's extremely unlikely to cause issues, it's still better to avoid it.
2026-09-24 12:05:18 +02:00
Jordan Woyak
9599525ea1
PowerPC/MMU: Changed mask in DMA_LCToMemory and DMA_MemoryToLC functions to allow for a 256MiB MEM2.
...
Also adjusted maximum value for MEM2 to 256 MiB for Qt and Android UIs.
2026-09-21 13:37:59 -05:00
JosJuice
4619af1be0
Merge pull request #14883 from AdmiralCurtiss/zelda-hle-voice-flags
...
DSPHLE/Zelda: Add bounds check for m_sync_voice_skip_flags in RenderAudio()
2026-09-21 18:23:48 +02:00
JosJuice
22342c2303
Merge pull request #14882 from JosJuice/gci-folder-block-index
...
GCMemcardDirectory: Add bounds check for m_save_data
2026-09-21 18:23:39 +02:00
Admiral H. Curtiss
b84323e108
DSPHLE/Zelda: Add bounds check for m_sync_voice_skip_flags in RenderAudio()
2026-09-20 22:51:17 +02:00
JosJuice
8f674f574a
Merge pull request #14833 from JosJuice/state-nand-tas
...
IOS/FS: Fix loading savestate while TASing
2026-09-20 22:30:42 +02:00
JosJuice
f8a5c5c10b
GCMemcardDirectory: Check if UsesBlock result is non-negative
...
The only negative result UsesBlock can return is -1, so this change
doesn't affect anything in practice, but makes the intent a little bit
clearer.
2026-09-20 22:18:45 +02:00
William Sullivan
0e6e00b1ef
Integrated GBA Audio Routing
2026-09-20 15:10:16 -05:00
JosJuice
56e8b740f1
GCMemcardDirectory: Add bounds check for m_save_data
2026-09-20 20:13:19 +02:00
JosJuice
093d3abe95
IOS/FS: Fix loading savestate while TASing, part 2
...
When calling CreateDirectory for /wfs, we were passing a UID of 19,
because that is the UID /wfs is supposed to have. However,
CreateDirectory returns AccessDenied if we try to create a directory in
the root using a UID other than 0.
To fix this, let's use UID 0 to create the directory, and then change
the UID and GID afterwards using SetMetadata. This is what the ESCore
constructor does, which is the piece of code that normally creates /wfs.
2026-09-20 11:59:28 +02:00
JosJuice
4fcd61620f
IOS/FS: Fix loading savestate while TASing, part 1
...
When TASing, we savestate not just /tmp but also /. The code that was
added in d35fe1b didn't handle recreating / correctly.
This commit fixes the problem by skipping recreating /, which is fine
since it always exists.
2026-09-20 11:56:57 +02:00
JosJuice
dbff13226c
Merge pull request #14867 from brad0/openbsd_build_fix
...
Fix building on OpenBSD
2026-09-20 10:08:10 +02:00
Jordan Woyak
76320c7cdf
DolphinQt/InfinityBaseWindow: Minor adjustments.
2026-09-18 14:17:16 -05:00
Admiral H. Curtiss
ee018d00e6
Merge pull request #14868 from JoshuaVandaele/index-regression
...
NetPlayIndex: Fix regression introduced in #14738
2026-09-17 01:36:38 +02:00
Admiral H. Curtiss
3d26cfb1f3
Merge pull request #14869 from cristian64/ram_override_ios
...
Core: Fix RAM override setup in IOS.
2026-09-17 01:32:08 +02:00