Commit Graph

900 Commits

Author SHA1 Message Date
Fabio Arnold
2a438af76b
Merge f26e716686 into 553990a25e 2026-04-16 20:34:39 +02:00
goeiecool9999
553990a25e debugger: fix crash when adding breakpoint
Checking the item in the event handler that is triggered when an option is checked caused recursion stack overflow

fixes: #1876
2026-04-16 10:31:04 +02:00
shinra-electric
125765c913
ci+mac: Codesign macOS app bundle (#1875) 2026-04-16 03:26:26 +02:00
shinra-electric
d96104d00d
ci+mac: Fix rpath for libusb (#1874) 2026-04-16 03:18:44 +02:00
Emma
9e28d6d3ef
build.MD: Update macos build instructions (#1872) 2026-04-13 23:24:30 +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
goeiecool9999
b9b46ecb65
Vulkan: Use LLVM shader compiler for BOTW on Linux + Mesa (#1857)
Workaround for GPU crashes when using certain runes in BOTW
Can be overridden by setting RADV_DEBUG=aco
2026-04-04 19:14:49 +02:00
goeiecool9999
b3e310220e vulkan: use the right exit function when vulkan fails to initialize.
(fixes: #1833)
2026-04-04 16:48:43 +02:00
GaryOderNichts
c16936d381
build: Link zstd explicitly (#1860) 2026-04-04 16:32:12 +02:00
goeiecool9999
fd1a1d1688 unix: simplify the case-insensitivity algorithm 2026-04-03 02:47:52 +02:00
goeiecool9999
72b5740ed4 unix: check current working directory for case-insensitive relative paths when no more parents 2026-04-03 02:30:48 +02:00
goeiecool9999
a1d47c37b6 unix: handle edge case where path does not exist
fixes crash when passing an invalid path with the "-g" launch option
the algorithm would recurse up the tree infinitely looking for blank parent directories
probably fixes more things
2026-04-03 01:11:56 +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
Fabio Arnold
271e8b8adc CMake: add option for sanitizers 2026-03-29 14:15:30 +02:00
Squall Leonhart
2913a8ca7a
input: Fix bitwise operation for button mask (#1851)
Fixes classic controller buttons which were shifted beyond 32bit range
2026-03-29 08:56:12 +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
Exzap
c1965c3d89 Enforce LF line endings 2026-03-24 04:15:04 +01:00
shinra-electric
6312fb936c
ci: Update github actions (#1836) 2026-03-14 17:24:20 +01:00
Squall Leonhart
0ff7d6ef0c
input: Fix logging crash in WPADGetInfoAsync due to mismatching type (#1832) 2026-03-13 21:38:33 +01:00
Crementif
a04eb53822
vcpkg: Update wxWidgets to 3.3.2 (#1824) 2026-03-12 21:58:22 +01:00
Crementif
3ee166101a debugger: fix breakpoints window right-click being offset 2026-02-23 17:08:30 +01:00
Exzap
ceb9771a5c Vulkan: Fixes for object refcounting 2026-02-23 03:21:43 +01:00
Exzap
4ca4d1caed config: Retain Vulkan device selection from previous config format 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
556fc24896 GameList: Reduce time it takes for the list to be populated 2026-02-23 03:21:43 +01:00
Exzap
f5be6bef2d GameList: Save config after updating favorites 2026-02-23 03:21:43 +01:00
Luminyx
cd5838fc7f
Windows: Don't re-attach stdio when piping output (#1812)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2026-02-19 03:30:45 +01:00
Crementif
3b5c6f5246 Fix dark mode in download manager
Some checks are pending
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2026-02-09 14:10:19 +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)
Some checks are pending
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)
Some checks failed
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