Fabio Arnold
67fbae6f3a
Merge f26e716686 into 6f6c1299e2
2026-04-22 14:57:35 +01:00
SSimco
6f6c1299e2
Logging: Add compile-time format checks ( #1885 )
2026-04-22 15:51:44 +02:00
Emma
02383542b2
mac: Allow running without logicOp and update macOS build instructions ( #1880 )
2026-04-18 22:57:27 +02:00
Emma
5ac87ba7f3
mac: Log CPU and OS version ( #1879 )
2026-04-18 19:53:21 +02:00
goeiecool9999
5ee74b5a6a
GL: clean up shader object after compilation
...
On Linux/mesa, when compiling a big shader cache like BOTW this saves about 8.2 GiB of RAM usage
(only when ~/.cache/mesa_shader_cache and precompiled/_gl.bin cache is also fresh)
2026-04-18 18:48:54 +02:00
Sapphire
7e5516f94d
Vulkan: Fix compile error on glibc 2.43 ( #1870 )
2026-04-12 05:16:07 +02:00
goeiecool9999
391478b307
vulkan: Improve the Breath of the Wild RADV/LLVM workaround ( #1862 )
2026-04-10 22:46:51 +02:00
iPixzl
1644fd2e09
GamePatch: Add additional FFL endian-swap patch signature for Mario Kart 8 ( #1867 )
2026-04-10 22:45:27 +02:00
GaryOderNichts
c16936d381
build: Link zstd explicitly ( #1860 )
2026-04-04 16:32:12 +02:00
Fabio Arnold
f26e716686
LatteAddrLib: fix misaligned pointer UB in optimizedDecodeLoop_tm04
...
- bpp=32: blockOutput is texelBaseType* (uint32_t, 4-byte aligned).
Casting to uint64* and dereferencing is UB when the address is not
8-byte aligned (e.g. 0x...c is 4-byte aligned but not 8-byte).
- bpp=8: blockOutput is texelBaseType* (uint8_t, 1-byte aligned).
Casting to uint64* is UB for any address not divisible by 8.
2026-03-29 17:24:07 +02:00
Fabio Arnold
d4857e8749
Latte: use 32-bit version of __builtin_clz
...
__builtin_clzl is the 64 bit version
For example for _Mask 32 it calculated 31 - 58 = -27
Cast to uint32 gives 4294967269
2026-03-29 17:24:07 +02:00
Fabio Arnold
bc21013d21
PPC: zero sign extend sint32 only
2026-03-29 17:24:07 +02:00
Fabio Arnold
fbff89d03b
PPC: fix UB sint overflow
2026-03-29 17:24:07 +02:00
Fabio Arnold
245f7ed270
PPC: fix undefined sint underflow
2026-03-29 17:24:07 +02:00
Fabio Arnold
8e2cf6c7b2
PPC: use unsigned int where wrapping is defined
...
wrapping of signed integers is undefined behavior
2026-03-29 17:24:07 +02:00
Fabio Arnold
ff8d78d2eb
Core: remove obsolete #pragma pack(1)
...
prevent misaligned pointer use by aligning tightly packed structs to 4
2026-03-29 14:15:30 +02:00
Exzap
6648a9c225
coreinit: Log errors in OSUnlockMutex instead of debug asserts
2026-03-24 04:15:28 +01:00
Exzap
f2f70e5df8
GX2: Fix several missing/incorrect cmd reserve calls
2026-03-24 04:15:28 +01:00
Exzap
f893e2928c
GX2: Fix return type of GX2DrawDone
2026-03-24 04:15:28 +01:00
Exzap
8065520583
PPCRec: Fix eflags optimization
2026-03-24 04:15:28 +01:00
Exzap
0121e63408
coreinit: Implement OSFatal
2026-03-24 04:15:28 +01:00
Exzap
c92bef0352
coreinit: Refactor OSScreen
2026-03-24 04:15:28 +01:00
Exzap
5e0e3f42da
coreinit: Improve vcprintf implementation
2026-03-24 04:15:28 +01:00
Exzap
a5ae41fdbe
build: Remove unnecessary includes to improve compile times
...
Also revert PCH reuse for everything but MSVC. Other compilers/platforms have limitations that make reused PCH a bit too fragile. I got it to work but only after forcing certain flags globally (like -pthread) and I dont think its a good idea to do that
2026-03-24 04:15:28 +01:00
Exzap
8e2e2c44bb
build: Generate precompiled header only once (msvc only)
2026-03-24 04:15:28 +01:00
Exzap
1a5546e4ad
GfxPack: Add version (8) for new features
2026-03-24 04:15:05 +01:00
Squall Leonhart
0ff7d6ef0c
input: Fix logging crash in WPADGetInfoAsync due to mismatching type ( #1832 )
2026-03-13 21:38:33 +01:00
Exzap
ceb9771a5c
Vulkan: Fixes for object refcounting
2026-02-23 03:21:43 +01:00
Exzap
2096c434de
Latte: Cleanup some endian handling code
2026-02-23 03:21:43 +01:00
Exzap
18dd75c1f5
Latte: Force height of 1D textures to 1
2026-02-23 03:21:43 +01:00
Exzap
9f58f3a118
coreinit: Fix initialization order
...
Threads were initialized before SDA values were available from RPL loader. Fixes crash in Skylanders Swap Force and some other games
2026-02-09 07:08:01 +01:00
Exzap
8cd5ce102f
Vulkan: Properly shutdown pipeline compile threads + code cleanup
...
This fixes an issue where the Vulkan renderer would hang up on shutdown due to resources still being in use
2026-02-09 04:11:10 +01:00
Luminyx
2c03ac3217
GraphicPack: Support wildcard titleId and RPX hash + entrypoint callbacks ( #1805 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2026-02-09 02:20:34 +01:00
rcaridade145
5bc60b9452
AX: Fix linear filter ( #1802 )
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
The else code would be unreachable.
2026-02-02 17:16:46 +01:00
goeiecool9999
ba82dc57d6
OpenGL+Vulkan: Use unified uniform block layout for output shaders ( #1785 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2026-02-01 02:06:05 +01:00
Crementif
07bdb3454a
debugger: Various QoL improvements ( #1777 )
...
* Ignore keyboard inputs when debugger is focused
* Add workaround for slightly improved multi-thread debugging
* debugger: Add interpreter mode switch and log-only memory breakpoints
2026-02-01 01:53:02 +01:00
Exzap
4fe73a3582
rpl: Fix RPLs not loading from cafeLibs/
2026-01-22 06:55:22 +01:00
Exzap
f45623523d
CPU: Fix PSQ_L/PSQ_ST scaler calculation
2026-01-21 06:31:10 +01:00
RedBlackAka
a20032ffb5
Latte/Metal: Exclude more Metal only logic on non-Apple platforms and cleanups ( #1781 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2026-01-21 04:46:06 +01:00
SamoZ256
d9cc8f81c2
metal: Create temporary autorelease pools ( #1783 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2026-01-16 04:23:12 +01:00
goeiecool9999
8af510b9e3
Vulkan: Move command buffer setup to more sensible location
2026-01-15 22:54:01 +01:00
goeiecool9999
e376b15075
Vulkan: Fix validation error on Spir-V Execution Mode intrinsic
2026-01-12 22:44:56 +01:00
goeiecool9999
ca73549717
nim: Fix memory leak ( #1775 )
...
Store NIMPackage structs in vector instead of pointers on the heap
2026-01-09 16:47:59 +01:00
goeiecool9999
e3260daea2
Fix dump directory creation
...
Thanks to Switch-9867 on GH for pointing out the issue
2026-01-09 11:04:43 +01:00
Exzap
bc0ebfc106
rpl: Fix sysapp name + fix logging order
2026-01-09 02:15:01 +01:00
Exzap
c5913fe8cb
refactor/rpl: Treat HLE libs more like RPL modules
...
HLE modules now have a unified interface via which they can get notified when mapped into the process or when loaded/unloaded.
We also always call the unload functions when stopping emulation to give the module implementations a chance to reset all state (although many of them are still missing proper cleanup code for now)
2026-01-07 02:46:49 +01:00
goeiecool9999
7330cdf3a9
Vulkan: Reuse pipeline layout for DRC to fix layout object leak
2025-12-29 13:38:19 +01:00
goeiecool9999
422b5b3a1d
Vulkan: force barriers on Gerudo Town water shader
2025-12-28 23:18:31 +01:00
oltolm
08aa28468b
Latte: Fix ASAN error ( #1760 )
2025-12-28 13:20:54 +01:00
goeiecool9999
13c6d497a0
Vulkan: Refactor HandleScreenshotRequest
2025-12-24 21:25:34 +01:00